Hello Dialog,
I have a system that will communicate with a mobile app through DA14681 BLE device.
This system is equipped with a smartcard reader and I have a read/notify characteristic that handles the smart card status (inserted or not). I need to generate a notification whenever a smart card is inserted knowing that the characteristic value is modified from the DA14681 firmware and not from the moblie application. Can you please guide me on how to do that ?
Thank you
Keywords:
Device:
Hi amine_benamor,
Can you please clarify your questions and try to explain what you would like to accomplish with the SmartCard and the notifications?
In the meanwhile, you could check the following tutorials as well:
Custom Bluetooth Low Energy Profile
SW Example: DA1468x BLE customer service
Thanks, PM_Dialog
Hi Dialog,
Okay, As I mentionned I have a system equipped with a smart card reader, I would like to create a characateristic in a ble service that takes care of the status of the reader (whether there is a card in the slot or not). the service characteristic has read or notify permissons. My requirements say that whenever there is a change in the card reader status (card inserted for example) I need to send a notification to the android application that manages the system . My problem is that I don't know how to send this notification when an external event happens (like the one I mentionned) but I can do it when writing directly to the characteristic value from light blue application.
ps: my code is based onSW Example: DA1468x BLE customer service
I hope I could clarify my question
Thanks
Hi amine_benamor,
Let me check it and I will get back to you as soon as possible.
Thanks, PM_Dialog
Hello PM_Dialog
I've managed to do what I asked you following the battery level service in the pxp reporter project.
Thank you for your support.
amine_benamor
Hi amine_benamor.
Glad that you have managed to do it and thanks for your indication. If you have any other follow up question, don’t hesitate to create a new forum post.
Thanks, PM_Dialog