Notifications while not Connected

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

This is more of a BLE question, but at least it is simple:

   

Say I want to have one client and multiple servers.

   

Normal, right?

   

I want to get notifications from all the servers, without having to connect and poll them individually.

   

Is it possible for servers to send notifications, even though they are not currently "connected" to the client?

   

wle

0 Likes
1 Solution
Anonymous
Not applicable
        Notifications only work for sending data to connected device(s). Thus, if you want multiple devices notifiying the same client, you would either need to poll them (which you don't want), or you could try some method of changing the advertisement packets to indicate a notification is available to the client device. Then you only need to check devices when their advertisement data changes (notifies you). See here for advertisement updating: http://www.cypress.com/blog/100-projects-100-days/project-009-dynamic-broadcaster-changing-advertisi...   

View solution in original post

0 Likes
2 Replies
Anonymous
Not applicable
        Notifications only work for sending data to connected device(s). Thus, if you want multiple devices notifiying the same client, you would either need to poll them (which you don't want), or you could try some method of changing the advertisement packets to indicate a notification is available to the client device. Then you only need to check devices when their advertisement data changes (notifies you). See here for advertisement updating: http://www.cypress.com/blog/100-projects-100-days/project-009-dynamic-broadcaster-changing-advertisi...   
0 Likes
Anonymous
Not applicable

ok thanks.. 

0 Likes