Hi,
We are able to port SPP+LE stack on to MSP4305438A ,able to configure as server and client , but unable to detect the module in any mobiles.When "Startscanning" cmd is executed we are able to detect other LE module but not able to connect or establish connection with them.
Attach logs for refernce.
OpenStack().
Bluetooth Stack ID: 1.
Device Chipset: 4.0.
BD_ADDR: 0x84DD20EDAF99
******************************************************************
* Command Options: Server, Client, Help *
******************************************************************
SPP+LE>Server
******************************************************************
* Command Options General: Help, GetLocalAddress, SetBaudRate *
* Quit, *
* Command Options BR/EDR: Inquiry, DisplayInquiryList, Pair, *
* EndPairing, PINCodeResponse, *
* PassKeyResponse, *
* UserConfirmationResponse, *
* SetDiscoverabilityMode, *
* SetConnectabilityMode, *
* SetPairabilityMode, *
* ChangeSimplePairingParameters, *
* GetLocalName, SetLocalName, *
* GetClassOfDevice, SetClassOfDevice, *
* GetRemoteName, SniffMode, *
* ExitSniffMode, Open, Close, Read, *
* Write, GetConfigParams, *
* SetConfigParams, GetQueueParams, *
* SetQueueParams, Loopback, *
* DisplayRawModeData, AutomaticReadMode,*
* CBSend. *
* Command Options GAPLE: SetDiscoverabilityMode, *
* SetConnectabilityMode, *
* SetPairabilityMode, *
* ChangePairingParameters, *
* AdvertiseLE, StartScanning, *
* StopScanning, ConnectLE, *
* DisconnectLE, PairLE, *
* LEPasskeyResponse, *
* QueryEncryptionMode, SetPasskey, *
* DiscoverGAPS, GetLocalName, *
* SetLocalName, GetLERemoteName, *
* SetLocalAppearance, *
* GetLocalAppearance, *
* GetRemoteAppearance, *
* Command Options SPPLE: DiscoverSPPLE, RegisterSPPLE, LESend, *
* ConfigureSPPLE, LERead, Loopback, *
* DisplayRawModeData, AutomaticReadMode *
******************************************************************
SPP+LE>registerspple
Sucessfully registered SPPLE Service.
SPP+LE>Advertisele
Usage: Advertise [(0 = Disable, 1 = Enable)]..
SPP+LE>[A
Invalid Command: [A.
SPP+LE>advertisele 1
GAP_LE_Advertising_Enable success.
SPP+LE>str
Invalid Command: STR.
SPP+LE>startscanning
Scan started successfully.
SPP+LE>
etLE_Advertising_Report with size 22.
1 Responses.
Advertising Type: rtConnectableUndirected.
Address Type: atPublic.
Address: 0x9059AF0B7A91.
RSSI: -68.
Data Length: 11.
AD Type: 0x01.
AD Length: 0x01.
AD Data: 0x05
AD Type: 0x02.
AD Length: 0x06.
AD Data: 0x03 0x18 0x02 0x18 0x04 0x18
SPP+LE>
etLE_Advertising_Report with size 22.
1 Responses.
Advertising Type: rtConnectableUndirected.
Address Type: atPublic.
Address: 0x9059AF0B7A91.
RSSI: -61.
Data Length: 11.
AD Type: 0x01.
AD Length: 0x01.
AD Data: 0x05
AD Type: 0x02.
AD Length: 0x06.
AD Data: 0x03 0x18 0x02 0x18 0x04 0x18
SPP+LE>stopscanning
Scan stopped successfully.
SPP+LE>connectle 9059af0b7a91
Unable to create connection: -512.
Function Error.
SPP+LE>[A connectle 9059af0b7a91 1
Unable to create connection: -512.
Function Error.
SPP+LE>
OpenStack().
Bluetooth Stack ID: 1.
Device Chipset: 4.0.
BD_ADDR: 0x84DD20EDAF99
******************************************************************
* Command Options: Server, Client, Help *
******************************************************************
SPP+LE>Server
******************************************************************
* Command Options General: Help, GetLocalAddress, SetBaudRate *
* Quit, *
* Command Options BR/EDR: Inquiry, DisplayInquiryList, Pair, *
* EndPairing, PINCodeResponse, *
* PassKeyResponse, *
* UserConfirmationResponse, *
* SetDiscoverabilityMode, *
* SetConnectabilityMode, *
* SetPairabilityMode, *
* ChangeSimplePairingParameters, *
* GetLocalName, SetLocalName, *
* GetClassOfDevice, SetClassOfDevice, *
* GetRemoteName, SniffMode, *
* ExitSniffMode, Open, Close, Read, *
* Write, GetConfigParams, *
* SetConfigParams, GetQueueParams, *
* SetQueueParams, Loopback, *
* DisplayRawModeData, AutomaticReadMode,*
* CBSend. *
* Command Options GAPLE: SetDiscoverabilityMode, *
* SetConnectabilityMode, *
* SetPairabilityMode, *
* ChangePairingParameters, *
* AdvertiseLE, StartScanning, *
* StopScanning, ConnectLE, *
* DisconnectLE, PairLE, *
* LEPasskeyResponse, *
* QueryEncryptionMode, SetPasskey, *
* DiscoverGAPS, GetLocalName, *
* SetLocalName, GetLERemoteName, *
* SetLocalAppearance, *
* GetLocalAppearance, *
* GetRemoteAppearance, *
* Command Options SPPLE: DiscoverSPPLE, RegisterSPPLE, LESend, *
* ConfigureSPPLE, LERead, Loopback, *
* DisplayRawModeData, AutomaticReadMode *
******************************************************************
SPP+LE>registerspple
Sucessfully registered SPPLE Service.
SPP+LE>Advertisele
Usage: Advertise [(0 = Disable, 1 = Enable)]..
SPP+LE>[A
Invalid Command: [A.
SPP+LE>advertisele 1
GAP_LE_Advertising_Enable success.
SPP+LE>str
Invalid Command: STR.
SPP+LE>startscanning
Scan started successfully.
SPP+LE>
etLE_Advertising_Report with size 22.
1 Responses.
Advertising Type: rtConnectableUndirected.
Address Type: atPublic.
Address: 0x9059AF0B7A91.
RSSI: -68.
Data Length: 11.
AD Type: 0x01.
AD Length: 0x01.
AD Data: 0x05
AD Type: 0x02.
AD Length: 0x06.
AD Data: 0x03 0x18 0x02 0x18 0x04 0x18
SPP+LE>
etLE_Advertising_Report with size 22.
1 Responses.
Advertising Type: rtConnectableUndirected.
Address Type: atPublic.
Address: 0x9059AF0B7A91.
RSSI: -61.
Data Length: 11.
AD Type: 0x01.
AD Length: 0x01.
AD Data: 0x05
AD Type: 0x02.
AD Length: 0x06.
AD Data: 0x03 0x18 0x02 0x18 0x04 0x18
SPP+LE>stopscanning
Scan stopped successfully.
SPP+LE>connectle 9059af0b7a91
Unable to create connection: -512.
Function Error.
SPP+LE>[A connectle 9059af0b7a91 1
Unable to create connection: -512.
Function Error.
SPP+LE>