This shows you the differences between two versions of the page.
built_in:nxt_ispaired [2015/03/23 07:49] madlyr created |
built_in:nxt_ispaired [2015/03/23 16:11] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== IsPaired ====== | ||
- | The **IsPaired** function checks if Bluetooth device with **name** is on the paired devices list of our phone/ | ||
- | < | ||
- | |||
- | |||
- | ====Example==== | ||
- | <code javascript> | ||
- | function OnStart() | ||
- | { | ||
- | nxt = app.CreateNxt(); | ||
- | deviceName = " | ||
- | paired = nxt.IsPaired( deviceName ); | ||
- | app.Alert( " | ||
- | } | ||
- | </ |