- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have generated a hello_notif app using the WICED smart generator. (Zip File Attached)
I connect to the light blue and this the sequence I follow:
i. Connect with the device
ii. Connect to the characteristic (Prop: Read Write Notify and Indicate)
iii. Inside the characteristic click on listen for notifications (Light Blue) - I do not see the notifications getting activated (The "Listen for notifications" button does not change to stop listening like it does in hello_client example)
iv. Writing to the characteristic still works fine
STEP 1:
STEP 2:
STEP 4:
SIMILAR STEPS FOLLOWED WITH THE HELLO CLIENT:
STEP 1:
STEP 2: (Stop Listening is seen as opposed to Listen for notifications)
I have tried to compare both hello_notif(WICED Smart designer generated) and hello_client and haven't understood, what is that that is being done different?
In hello_client.c: hello_client_write_handler function has the 0x002b handle when I click on the listen for notification, but the only handle which the stack registers in hello_notif (code attached) is the vendor characteristic handle for hello_notif characteristic.
Let me know what are the changes that need to be done for similar functionality with the WICED smart designer code.
Message was edited by: Sambhav Galada Updated hello_notif with notification and indication in wiced smart designer client configuration.
Solved! Go to Solution.
- Labels:
-
ReadWrite Characteristics
-
SDK 2.X
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello sambhav,
You need to look at the GATT Database of the hello_client and compare your hello_notif GATT Database to it.
You need to look at the properties of the characteristics and compare them.
Then you might find the problem.
Remember there are lots of TODO's in the Smart Designer result code.
Thanks
JT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello sambhav,
Have you tried checking the Client Configuration Permissions?
In your .wic file, it appears to have been left blank.
Thanks
JT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi JT,
I have updated the code.But I still see the same scenario as mentioned above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello sambhav,
You need to look at the GATT Database of the hello_client and compare your hello_notif GATT Database to it.
You need to look at the properties of the characteristics and compare them.
Then you might find the problem.
Remember there are lots of TODO's in the Smart Designer result code.
Thanks
JT