I started playing around with the BLE chat example, Mainly so I can do remote control from a phone "remotes" and an iOS Tablet (as a controller device). The Tablet is the peripheral because multiple remotes/phones can connect back into it.
It works fine, however, there is absolutely zero security. it doesn't ask for pairing, it will simply allow the connection. Any connection for that matter, without repercussion.
This is ok, but, on the Peripheral side (the device at which I am connecting to) there doesnt seem to be a way to boot a connection by CentralID, or even a connection at all.
Not being able to do Pairing, I am ok with. but I need to at least be able to negotiate a handshake within my own app if someone connects in and "subscribes". I want to challenge that person/connection, and if it doesn't reply or replies wrong, Boot it.
So any "rogue" person or device could connect in, subscribe and intercept/control the traffic between remote and tablet.
any help here would be appreciated. Thanks!
It works fine, however, there is absolutely zero security. it doesn't ask for pairing, it will simply allow the connection. Any connection for that matter, without repercussion.
This is ok, but, on the Peripheral side (the device at which I am connecting to) there doesnt seem to be a way to boot a connection by CentralID, or even a connection at all.
Not being able to do Pairing, I am ok with. but I need to at least be able to negotiate a handshake within my own app if someone connects in and "subscribes". I want to challenge that person/connection, and if it doesn't reply or replies wrong, Boot it.
So any "rogue" person or device could connect in, subscribe and intercept/control the traffic between remote and tablet.
any help here would be appreciated. Thanks!