SWRU580 April 2021 CC2564C , CC2564MODA , CC2564MODN
The demo application provides a description on how to use the demo application to connect two configured boards and communicate over Bluetooth LE. The included application registers a custom service on a board when the stack is initialized.
Device 1 (Server) setup on the demo application
Figure 17-2 PASP Demo Register
PASS
Figure 17-3 PASP Demo Start
Scanning
Figure 17-4 PASP Connection
Request Successful
Figure 17-5 PASP Demo Discover
PASS
Figure 17-6 PASP Demo Configure
Remote PASS
Figure 17-7 PASP Demo Configure
Remote PASS Result 2
Figure 17-8 PASP Server Run
NotifyAlertStatus and NotifyRingerSettingAfter running NotifyAlertStatus and NotifyRingerSetting on the Server, we get the Alert Status and Ringer Setting on the Client.
Figure 17-9 PASP Demo Alert Status
Notification
Figure 17-10 PASP Demo Set Alert
StatusIn this example, we set all of them to active and then issue the NotifyAlertStatus command.
Figure 17-11 PASP Demo Set Alert
Status ResultThe Client will then receive the updated alert status.
Figure 17-12 PASP Client Receive
Updated Alert Status
Figure 17-13 PASP Demo Set Ringer
Setting UsageIn our example, we set toggle between Normal and Silent settings and update the setting by issuing the NotifyRingerSetting command.
Figure 17-14 PASP Demo Set Ringer
SettingThe Client sees the updated Ringer settings.
Figure 17-15 PASP Demo Connection
Server NotificationWe can also move the device into and out of silent mode by issuing the SetSilentMode and CancelSilentMode commands and Mute the device by issuing the MuteOnce command.