How to detect in iOS app event trigger by button pressed in nRF51822?
How to detect in iOS app event trigger by button pressed in nRF51822?
Hi,
You can follow the steps this tutorial which shows a basic interaction between the nRF51822 and a mobile device using the ble_nus servies.
Best regards,
Øyvind
You could do it Øyvind's way, but this would require a connection to be formed between the iOS device and the nRF51822 which may not be desirable/efficient. The way I would do it would be to update the advertising packet of the nRF51822 with a flag that indicated a button push occurred so no connection with the nRF51822 was needed. This would make the solution simpler from both ends.