Shop OBEX P1 Docs P2 Docs Learn Events
embeded blue - just detect device — Parallax Forums

embeded blue - just detect device

Aaron WallAaron Wall Posts: 31
edited 2009-01-27 20:36 in BASIC Stamp
It is possible to use the embedded blue module to notify a stamp when a certain bluetooth device is within detectable range?
Without any action required by the device being detected.
No need for data transfer, just for the stamp to know when that device is near by.

-Aaron

Comments

  • MSDTechMSDTech Posts: 342
    edited 2009-01-27 20:36
    The stamp will have to ask the embedded blue device what devices are within range.
    Look at the command:
    List Visible Devices
    The list visible devices command returns a listing of all the devices that are currently in range and
    visible. The command may be canceled before the timeout is reached by sending an additional
    carriage-return to the module.
    Syntax
    lst visible [noparse][[/noparse]timeout]<CR>
    Parameters
    timeout An optional parameter used to abort the list request after the specified
    number of seconds. The default value is 30. The maximum value is 120
    seconds.
    Returns
    The addresses of the Bluetooth devices that are in range and visible.
    Example
    >lst visible<CR>
    ACK<CR>
    00:0C:84:00:05:29<CR>
    00:80:C8:35:2C:B8<CR>
    >

    Its on page 90 of the manual available at:
    http://www.parallax.com/Portals/0/Downloads/docs/prod/comm/A7-UM-eb500-SER.pdf
Sign In or Register to comment.