亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? bluetooth.h.svn-base

?? qaSDQDaca<FCSASDAVCASC SDVFDSVDF
?? SVN-BASE
字號:
 /*
============================================================================================
 Name		: Bluetooth.h
 Author	    : BluetoothAPI is a initiative of Embedded LAB - http://www.embedded.ufcg.edu.br/
 			  OpenC/SymbianC++ - http://efforts.embedded.ufcg.edu.br/symbiancpp	
 Version	 :
 Copyright   : This file is part of BluetoothAPI.
               Bluetooth is free software: you can redistribute it and/or modify
               it under the terms of the GNU Lesser General Public License as published by
               the Free Software Foundation, either version 3 of the License, or
               (at your option) any later version.

               BluetoothAPI is distributed in the hope that it will be useful,
               but WITHOUT ANY WARRANTY; without even the implied warranty of
               MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
               GNU Lesser General Public License for more details.

               You should have received a copy of the GNU Lesser General Public License
               along with BluetoothAPI. If not, see <http://www.gnu.org/licenses/>.
 
 Description : Bluetooth.h implementation
===========================================================================================
*/

#ifndef BLUETOOTH_H_
#define BLUETOOTH_H_

#include <vector>
using namespace std;

/**
 * Struct that contains the necessary data of a bluettoh device
 * to connect: Name, Address and Communication port number
 */
struct BTDeviceData
{
	char devName[256];
	char devAdr[32];
	unsigned int RfCommServicePort;
};

/**
 * BluetoothAPIListener
 * Inteface to listen the BluetoothAPI and notify important chages
 */
class BluetoothAPIListener
{
	public:
		
    	/**
     	* Virtual callback to notify the end of the search for devices
     	* and pass a vector data with the devices on the bluetooth network
     	* @param discoveredDeviceList, a vetor to be updated with data of devices on the network
     	*/
		virtual void devicesDiscoverFinished( vector<BTDeviceData>& discoveredDeviceList )=0;
		
    	/**
     	* Virtual callback to notify the end of the search for a specific service on the devices found
     	* and pass a vector data with the devices with that service
     	* @param discoveredServiceList, a vetor to be updated with data of devices with the desired service
     	*/
		virtual void servicesDiscoverFinished( vector<BTDeviceData>& discoveredServiceList )=0;
		
    	/**
     	* Virtual callback to notify that the device in use achieved to connect as a server
     	*/
		virtual void serverConnected()=0;
		
    	/**
     	* Virtual callback to notify that the device in use disconnected, or was disconnected, as a server
     	*/
		virtual void serverDisconnected()=0;
		
    	/**
     	* Virtual callback to notify that the device in use achieved to connect as a client
     	*/
		virtual void clientConnected()=0;
		
    	/**
     	* Virtual callback to notify that the device in use disconnected, or was disconnected, as a client
     	*/
		virtual void clientDisconnected()=0;
		
    	/**
     	* Virtual callback to notify that the device in use recieved a message and pass this message
     	* @param message, message received by the device in use
     	*/
		virtual void messageReceived( char* message)=0;
		
    	/**
     	* Virtual callback to notify that the device in use sent a message
     	*/
		virtual void messageSent()=0;
		
		/**
	    * Virtual callback to notify an error ocurred
	    * @param err, variable with the value of error occurred
	    */
		virtual void errorOcurred(int err)=0;
};

//CLASS DECLARATIONS
/**
 * BluetoothAPI class.
 * Provides an easy use of the bluetooth available resources
 */
class BluetoothAPI
{
public: //public members
	
	/**
	* Class constructor
	* @param listener, pointer of a user class to be notified when changes occur
	* @return a BluetoothAPI pointer
	*/
	IMPORT_C static BluetoothAPI* create(  BluetoothAPIListener *listener );
	
	/**
	* This function starts the search for bluetooth devices in the area
	*/
	IMPORT_C void searchDevices();
	
	/**
	* This function starts the search for a specific service on the found devices
	* @param BTServiceUUID, short-form identifier of the service to be searched
	*/
	IMPORT_C void searchServices(unsigned long int BTServiceUUID);
	
	/**
	* This function starts the search for a specific service on the found devices
    * @param BTServiceUUID1, highest part of identifier of the service to be searched
	* @param BTServiceUUID2, second highest part of identifier of the service to be searched
	* @param BTServiceUUID3, second lowest part of identifier of the service to be searched
	* @param BTServiceUUID4, lowest part of identifier of the service to be searched
	*/
	IMPORT_C void searchServices(unsigned long int BTServiceUUID1,
			unsigned long int BTServiceUUID2, unsigned long int BTServiceUUID3,
			unsigned long int BTServiceUUID4);
	
	/**
	* This function connects the device to a server of the device passed as parameter
	* @param deviceData, data of the device with user wants to connect
	*/
	IMPORT_C void connectToServer(BTDeviceData deviceData);
	
	/**
	* This function starts the server advetising of a specific service
	* @param BTServiceUUID,  short-form identifier of the service to be advertised
	* @param BTServiceName, name of de service advertised
	*/
	IMPORT_C void startAdvertising(unsigned long int BTServiceUUID,
			char* BTServiceName );
	
	/**
	* This function starts the server advetising of a specific service
	* @param BTServiceUUID1, highest part of identifier of the service to be advertised
	* @param BTServiceUUID2, second highest part of identifier of the service to be advertised
	* @param BTServiceUUID3, second lowest part of identifier of the service to be advertised
	* @param BTServiceUUID4, lowest part of identifier of the service to be advertised
	* @param BTServiceName, name of de service advertised
	*/
	IMPORT_C void startAdvertising(unsigned long int BTServiceUUID1,
			unsigned long int BTServiceUUID2, unsigned long int BTServiceUUID3,
			unsigned long int BTServiceUUID4, char* BTServiceName );

	/**
	* This function stops a server connection or the advertising of a service, 
	* must be called when the application is closed, otherwise the advertising will
	* continue with the application closed
	*/
	IMPORT_C void stopServerAndAdvertising();
	
	/**
	* This class closes the connection to the server, if the device in use is the client
	*/
	IMPORT_C void disconnectAsClient();
	
	/**
	* This class gives access to the list of founded devices
	* @return a vector with data of the founded devices
	*/
	IMPORT_C vector<BTDeviceData>& foundDevicesList();
	
	/**
	* This class gives access to the list of devices with the searched service
	* @return a vector with data of the devices with the searched service
	*/
	IMPORT_C vector<BTDeviceData>& foundServicesList();
	
	/**
    * Class destructor
    */
	IMPORT_C virtual ~BluetoothAPI();
	
	/**
	* This function sends a message to the device connected with the device in use,
	* The first message must be sent by the client, then the client and server must
	* alternate in sending messages.
	* @param message, message to be sent
	*/
	IMPORT_C void sendMessage(char* message);
	
};

#endif /* BLUETOOTH_H_ */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
26uuu亚洲综合色| 日韩成人av影视| 日本不卡一二三| av成人动漫在线观看| 欧美一级在线免费| 亚洲欧美日韩综合aⅴ视频| 看电影不卡的网站| 欧美三级欧美一级| 中文字幕综合网| 国产精品一区二区91| 欧美日韩的一区二区| 成人欧美一区二区三区白人| 国产成人在线视频网址| 日韩一级免费一区| 香蕉久久一区二区不卡无毒影院| av网站一区二区三区| 国产亚洲一本大道中文在线| 精品一区二区综合| 欧美伦理电影网| 午夜视黄欧洲亚洲| 欧美人体做爰大胆视频| 亚洲18色成人| 欧美精品自拍偷拍动漫精品| 亚洲小少妇裸体bbw| 播五月开心婷婷综合| 久久久不卡影院| 国产精品资源在线看| 久久综合久久鬼色中文字| av在线不卡电影| 中文字幕人成不卡一区| av一二三不卡影片| 亚洲品质自拍视频| 色香蕉久久蜜桃| 一级中文字幕一区二区| 欧亚一区二区三区| 午夜在线成人av| 在线不卡欧美精品一区二区三区| 性感美女极品91精品| 欧美一区二区免费| 国产精品影视在线观看| 国产午夜精品福利| 97久久精品人人做人人爽| 中文字幕一区二区在线观看| 在线视频国产一区| 五月激情综合色| 日韩欧美精品在线| 国产精品亚洲一区二区三区妖精 | 日日骚欧美日韩| 欧美一区二区三区在线| 久久99久国产精品黄毛片色诱| 亚洲精品一区二区三区蜜桃下载 | 天天免费综合色| 欧美一级搡bbbb搡bbbb| 国产在线视频一区二区三区| 国产日产亚洲精品系列| 91蜜桃传媒精品久久久一区二区| 一卡二卡欧美日韩| 欧美成人乱码一区二区三区| 成人丝袜18视频在线观看| 一区二区激情小说| 欧美成人欧美edvon| jiyouzz国产精品久久| 婷婷久久综合九色综合伊人色| 亚洲精品在线观看视频| 一本一道波多野结衣一区二区| 天堂久久一区二区三区| 国产精品久久一级| 欧美精选一区二区| av电影在线不卡| 奇米四色…亚洲| 亚洲六月丁香色婷婷综合久久| 日韩一区二区免费视频| 91视频91自| 极品少妇一区二区| 亚洲综合免费观看高清完整版在线 | 欧美一级二级在线观看| 成人性色生活片| 美女免费视频一区二区| 亚洲精品乱码久久久久久黑人| 日韩精品一区国产麻豆| 欧美综合一区二区| 成人一级黄色片| 蜜桃视频在线观看一区| 亚洲色图自拍偷拍美腿丝袜制服诱惑麻豆| 欧美一区二区三区男人的天堂| 91免费看`日韩一区二区| 国产中文字幕精品| 欧美aaa在线| 亚洲国产美国国产综合一区二区| 久久精品亚洲乱码伦伦中文 | 久久这里都是精品| 7777精品伊人久久久大香线蕉超级流畅 | 日韩一卡二卡三卡四卡| 色综合色狠狠天天综合色| 国产主播一区二区三区| 免费观看日韩av| 午夜免费久久看| 成人性生交大片| 国产精品夜夜爽| 国产精品性做久久久久久| 极品尤物av久久免费看| 麻豆精品视频在线观看免费| 日韩精品欧美成人高清一区二区| 亚洲精品成人天堂一二三| 亚洲视频免费看| 自拍视频在线观看一区二区| 中文字幕一区二区不卡| 国产精品色眯眯| 国产精品色哟哟| 国产精品久久久久9999吃药| 欧美国产精品专区| 亚洲欧洲精品天堂一级 | 精品久久久久久久久久久久包黑料 | 成人激情免费网站| 成人午夜电影网站| 成人黄色在线网站| 成人免费va视频| av电影在线不卡| 色婷婷av久久久久久久| 在线视频国产一区| 欧美精品自拍偷拍动漫精品| 欧美一区二区三区在线视频 | 在线成人免费观看| 日韩免费观看高清完整版| 欧美大片日本大片免费观看| 2023国产精品| 国产精品理论片| 一区二区三区四区精品在线视频| 亚洲小少妇裸体bbw| 日本人妖一区二区| 国产精品影视在线观看| 97精品久久久午夜一区二区三区| 91在线播放网址| 欧美日韩国产三级| 久久久久国产精品麻豆| 亚洲人成伊人成综合网小说| 亚洲午夜一二三区视频| 久久不见久久见免费视频7| 国产成人在线视频网址| 色8久久人人97超碰香蕉987| 日韩视频免费直播| 久久精品亚洲精品国产欧美kt∨| 国产精品每日更新在线播放网址| 依依成人精品视频| 久久99九九99精品| 一本色道久久加勒比精品| 91精品国产品国语在线不卡| 久久久午夜精品理论片中文字幕| 亚洲人快播电影网| 精品一区二区成人精品| 91女厕偷拍女厕偷拍高清| 欧美一区二区三区在线观看 | 一本色道久久综合狠狠躁的推荐 | 亚洲国产成人av好男人在线观看| 国产在线一区二区| 欧美日韩亚洲综合| 国产精品短视频| 欧美日韩高清不卡| 国产精品美女久久久久久2018| 亚洲在线中文字幕| 国产永久精品大片wwwapp| 欧美亚洲综合另类| 国产日韩精品一区二区三区在线| 一个色在线综合| 国产成a人无v码亚洲福利| 欧美色综合网站| 中文字幕一区二区三区视频| 日韩电影免费在线观看网站| 色综合色综合色综合| 国产欧美综合在线| 久久国产免费看| 欧美日韩视频第一区| 中文字幕一区二区三区在线不卡| 国产在线播精品第三| 制服.丝袜.亚洲.中文.综合| 亚洲色图在线看| 成人免费黄色在线| 久久精品夜色噜噜亚洲a∨| 免费高清成人在线| 69堂精品视频| 亚洲国产综合91精品麻豆| 91老师国产黑色丝袜在线| 欧美国产一区二区在线观看| 精品中文av资源站在线观看| 日韩精品最新网址| 久久99国产精品久久| 欧美一级视频精品观看| 日本视频免费一区| 欧美一区二区三区电影| 亚洲va欧美va人人爽| 欧美日韩午夜在线视频| 亚洲永久精品国产| 欧美性猛交xxxx乱大交退制版 | 欧美三级在线播放| 亚洲精品久久7777| 欧美主播一区二区三区| 一区二区三区高清不卡| 日本精品一区二区三区高清| 亚洲综合清纯丝袜自拍| 欧美男同性恋视频网站|