1. Advertising package detail: (Chinese)
http://www.race604.com/ble-advertising/
2. Device name:
1
|
Assuming that you are able to get connected with the GATT Server, when you parse the GAP profile of the device, you will find an attribute for Device Name under Generic Access Profile (GAP).UUID for GAP is 0x1800, and that for the Device Name Characterstic is 0x2A00. This pageexplains that the Device Name characteristic is a part of the GAP.
from http://stackoverflow.com/questions/33113141/how-do-you-get-the-actual-name-of-a-bluetooth-low-energy-device
|
https://www.bluetooth.com/zh-cn/specifications/gatt
4. ScanRSP local name and GATT device name (Chinese)
http://www.deyisupport.com.edgekey.net/question_answer/wireless_connectivity/bluetooth/f/103/p/61359/136416.aspx
4. For TI update device name use APIs.
GAPRole_SetParameter( GAPROLE_SCAN_RSP_DATA,);
GAP_UpdateAdvertisingData();
GGS_SetParameter( GGS_DEVICE_NAME_ATT, GAP_DEVICE_NAME_LEN,name);//attDeviceName );
GGS_SetParameter( GGS_DEVICE_NAME_ATT, GAP_DEVICE_NAME_LEN,name);//attDeviceName );
用这三个函数 就可以了