Scan For Other Modules In Range; Cmd_Scanstart_Req; Cmd_Scanstop_Req - We PROTEUS-III User Manual

Hide thumbs Also See for PROTEUS-III:
Table of Contents

Advertisement

WIRELESS CONNECTIVITY & SENSORS
User manual Proteus-III

7.1. Scan for other modules in range

7.1.1. CMD_SCANSTART_REQ

This command starts the scan operation to find other Proteus-III in range. All found devices
that fit the Proteus-III specification (i.e. devices that support WE SPP-like service UUID) are
saved in an internal data base. Before outputting the data base content using the command
CMD_GETDEVICES_REQ , the scan has to be stopped using CMD_SCANSTOP_REQ .
Format:
Response ( CMD_SCANSTART_CNF ):
Start signal
0x02
Status:
0x00: Request received, will start scan now
0x01: Operation failed
0xFF: Operation not permitted

7.1.2. CMD_SCANSTOP_REQ

This command stops the scan operation that was started using CMD_SCANSTART_REQ . It stores
the detected Proteus-III FS_BTMAC addresses in an internal database, which can be output using
the CMD_GETDEVICES_REQ .
Format:
Response ( CMD_SCANSTOP_CNF ):
Start signal
0x02
Status:
0x00: Request received, will stop scan now
0x01: Operation failed
0xFF: Operation not permitted
Order code 2611011024000
Version 1.8 , July 2022
Start signal
Command
0x02
0x09
Command | 0x40
0x49
Start signal
Command
0x02
0x0A
Command | 0x40
0x4A
Length
CS
0x00 0x00
0x0B
Length
Status
0x01 0x00
1 Byte
Length
CS
0x00 0x00
0x08
Length
Status
0x01 0x00
1 Byte
www.we-online.com/wcs
CS
1 Byte
CS
1 Byte
65

Advertisement

Table of Contents
loading

This manual is also suitable for:

Proteus-iii-spi26110110240102611011024000

Table of Contents