BLE security between Arduino and App Inventor

Hi, when using Arduino to control stuff how do you control that only ONE App Inventor device can connect and write to the Arduino?
Is there a kind of handshake in BLE? or do I need to build my own?
br. Teddy, Denmark

It depends on the exact BLE chip you're using with your Arduino. In most cases, you'll need one that can be set up to pair with security to the phone. Since most BLE support for Arduino I've seen doesn't support this, you're likely better off implementing your own protocol for consistency's sake.

Thanks! are you aware of a method to read connected device MAC-address on the Arduino side? (Read MAC address from App Inventor device)

I think it would depend on which BLE chip and library you're using.

1 Like