SWRU580 April 2021 CC2564C , CC2564MODA , CC2564MODN
SPPLE is not a standard Bluetooth Profile. You will have to make sure the app can use the custom UUIDs that are needed to communicate and read and write to the app.
The MSP430 device can also connect to an iPhone running an SPPLE application. The application that we use on the iPhone is SPPLE Transfer (a.k.a. SPPLE Chat) which can be downloaded for free from the app store here. There are some changes that need to be made to the SPPLEDemo.c file as well. See below:
/* Determine if a service discovery operation has been */
/* previously done. */
/*changed for using it with SPPLE chat application on iPhone*/
if(TRUE)
{
Display(("SPPLE Service found on remote device, attempting to read Transmit Credits, and configured CCCDs.\r\n"));
/* Enable Notifications on the proper characteristics. */
EnableDisableNotificationsIndications(LEContextInfo[LEConnectionIndex].ConnectionID, DeviceInfo->ClientInfo.Tx_Client_Configuration_Descriptor,
GATT_CLIENT_CONFIGURATION_CHARACTERISTIC_NOTIFY_ENABLE, GATT_ClientEventCallback_SPPLE);
ret_val = 0;
}
else
LEContextInfo[LEConnectionIndex].SPPLEBufferInfo.TransmitCredits = 1000;
DeviceInfo->ServerInfo.Tx_Client_Configuration_Descriptor = GATT_CLIENT_CONFIGURATION_CHARACTERISTIC_NOTIFY_ENABLE;
device using Reset S3 button and you should see the stack getting initialized on the terminal.
etLE_Advertising_Report with size 36.
1 Responses.
Advertising Type: rtConnectableUndirected.
Address Type: atRandom.
Address: 0x79F20C012372.
RSSI: 0xFFFFFFCB.
Data Length: 29.
AD Type: 0x01.
AD Length: 0x01.
AD Data: 0x1A
AD Type: 0x07.
AD Length: 0x10.
AD Data: 0x39 0x23 0xCF 0x40 0x73 0x16 0x42 0x9A 0x5C 0x41 0x7E 0x7D 0xC4 0x9A 0x83 0x14
AD Type: 0x09.
AD Length: 0x06.
AD Data: 0x69 0x50 0x68 0x6F 0x6E 0x65
LE>etLE_Advertising_Report with size 36.
1 Responses.
Advertising Type: rtScanResponse.
Address Type: atRandom.
Address: 0x79F20C012372.
RSSI: 0xFFFFFFCB.
Data Length: 0.