arduino - ble peripheral coded for exclusive central / master use -


being of newbie wondering if there way hard-code on peripheral allow single unique central/master connect.....?

i.e. / eg have ‘simple chat’ arduino app on redbearlab blend-micro (which intensive purposes same arduino uno ble shield) , want 1 single / unique phone able connect , therefore work it.

my understanding gap handles security features during ble connection.

therefore, there way ‘code’ peripheral device in / below 1 of following includes: spi.h ? boards.h ? eeprom.h ? rbl_nrf8001.h (or similar) ? other?

didn't quite answer restricting ble peripheral device connect 1 master

or

am stuck connecting coding peripheral in other way in gatt profile (i think) predefined unique central/master (how/where code?).

many thoughts in advance

being of newbie wondering if there way hard-code on peripheral allow single unique central/master connect.....?

theres "advertising filter policy" specified in bluetooth core v4.0 specification. byte in advertising parameters specified in section 7.8.5 le set advertising parameters command.

for example value 0x02 reads allow scan request any, allow connect request white list only.

then theres section 7.8.16 le add device white list command.

that said, if device confirms bluetooth 4.0 specification, should support these hci commands. there might functions simplify these procedures, wrapping hci commands easier use. check documentation of device such methods.

good luck!


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -