Anybus Wireless Bolt Reference Manual Download Page 72

AT Commands

70 (88)

3.10.2

AT*BGCPSDU Discover All Primary Services By Service UUID

Note: Only available when the device is in central operating mode.

AT*BGCPSDU=

Discover primary services by UUID. This will filter out the results based on UUID.

Syntax:

AT*BGCPSDU=<con_handle>,<uuid>

Input Parameters:

Name

Type

Description

con_handle

Integer

Connection handle.

uuid

String

UUID to search for.

Output Parameters:

Name

Type

Description

attr_handle

Integer

Decimal formatted attribute handle.

start_group_handle Integer

Decimal formatted start group handle.

end_group_handle

Integer

Decimal formatted end group handle.

Example:

AT*BGCPSDU=<con_handle>,<uuid><br>*BGCPSDU:<attr_handle>,<start_

group_handle>,<end_group_handle><br>OK

Wireless Bolt

/ Wireless Bridge II

Reference Guide

SCM-1202-004 EN 1.7

Summary of Contents for Wireless Bolt

Page 1: ...Wireless Bolt Wireless Bridge II AT Commands REFERENCE GUIDE SCM 1202 004 EN 1 7 ENGLISH...

Page 2: ...e liability or responsibility for any problems that may arise as a result from the use of undocumented features timing or functional side effects found outside the documented scope of this product The...

Page 3: ...3 AT Commands 5 3 1 Standard Commands 5 3 2 Network Commands 6 3 3 Bluetooth Classic Commands 10 3 4 WLAN Commands 30 3 5 WLAN AP Commands 35 3 6 WLAN Client STA Commands 38 3 7 Informational Commands...

Page 4: ...This page intentionally left blank...

Page 5: ...l support please visit the Anybus support website at www anybus com support 1 2 Document history Revision list Version Date Description 1 0 2016 06 27 Beta release 1 1 2016 10 01 First public release...

Page 6: ...e sensitive 2 1 Data Types The description of each command also specifies the data types used for the parameter values There are five different data types String Strings can contain all the printable...

Page 7: ...acturer Syntax AT F 3 1 2 AT List Available Commands Returns a list of all available ATcommands AT Syntax AT Example Input AT br Output br AT F br AT br AT br AT ANDHCP br AT ANDHCP br AT ANIP br AT A...

Page 8: ...dhcp_client Integer 0 Off use static IP address 1 On acquire an IP address using DHCP dhcp_server Integer 0 Off Disable DHCP server 1 ON Enable DHCP server 2 DHCP Relay Relay DHCP messages to an exter...

Page 9: ...nputted start address offset start_address_offset It is impossible to assign the start address offset to values equal to 0 or above 247 Example If the start address offset is set to 201 it will start...

Page 10: ...02B01 600 br ANDHCPTAB 192 168 0 202 030146002D00 600 br 3 2 4 AT ANIP IP Settings Set get IP settings for the device AT ANIP Write IP address and related information The information set by this comma...

Page 11: ...ameters Name Type Description hostname String The hostname to set Maximum of 128 characters store Boolean If store is 1 the new value is stored permanently Requires a reboot for the changes to take ef...

Page 12: ...UTx but not to dut role Integer The role of the remote device 100 PAN User role PAN Profile 101 Network Access Point role PAN Profile 103 PAN This will first try to connect to PANU and if it fails con...

Page 13: ...ess MAC address of the Bluetooth device to get the name of Example Input AT BND 8C8B83EE2ACB gives the name of the device and OK if successful ERROR otherwise 3 3 5 AT BDD Device Discovery AT BDD Perf...

Page 14: ...BI Perform a Bluetooth inquiry Syntax AT BI Example Input AT BI returns BI bd_addr cod device_name_ valid bluetooth_name rssi for each found device followed by OK or ERROR Wireless Bolt Wireless Bridg...

Page 15: ...to 1 AT BCM Connectability mode will be set to 1 IMPORTANT As the device is connectable after NAP has been set an appropriate Security Mode should be configured Syntax AT BSP server_profile Input Para...

Page 16: ...in passkey used for BTauthentication Syntax AT BFP 3 3 9 AT BPM Pairing Mode AT BPM Set the pairing mode for BT Syntax AT BPM pair_mode store Input Parameters Name Type Description pair_mode Integer T...

Page 17: ...IN code security This mode only works between two units of this type and brand Not with third party devices Use Just works in that case PIN codes must consist of 4 to 6 digits 3 Just works Encrypted c...

Page 18: ...ice store Boolean If store is 1 the new value is stored permanently AT BBM Get the bridge mode used for BT See AT BBM for values Syntax AT BBM Example Input AT BBM 3 3 12 AT BBD Bonded Devices AT BBD...

Page 19: ..._addr MACAddress MAC address of the Bluetooth device to un bond If address FFFFFFFFFFFF is selected all bonded devices will be removed Note Deleting seperate BLE devices is not supported to delete BLE...

Page 20: ...5000ms 1 Connection period 5000ms Paging timeout 300 ms Inquiry timeout 600 ms 2 Connection period 3000ms Paging timeout 200 ms Inquiry timeout 300 ms 3 Connection period 3000ms Paging timeout 80 ms...

Page 21: ...ption gap_mode Integer The GAP discoverability mode to set 1 GAP non discoverable mode 2 GAP limited discoverable mode 3 GAP general discoverable mode store Boolean If store is 1 the new value is stor...

Page 22: ...the current GAP connectability mode See AT BCM for values Syntax AT BCM Example AT BCM br BCM gap_mode 3 3 17 AT BCA Connection Accept Used when external connection control is enabled see ATS2012 AT B...

Page 23: ...me to use The maximum length is 31 characters AT BLN Get the unit s Bluetooth name Syntax AT BLN Example AT BLN br BLN name 3 3 19 AT BRSS Read RSSI AT BRSS Get the RSSI for a connection Syntax AT BRS...

Page 24: ...3 21 AT BLP Limited Pairing AT BLP Enables or disables limited pairing only valid for current power cycle If the device should be pairable after power cycle see S register 2007 Note This also applies...

Page 25: ...k used to enable or disable channels 16 to 31 Bit 0 Channel 16 ch32to47 Integer Bit mask used to enable or disable channels 32 to 47 Bit 0 Channel 32 ch48to63 Integer Bit mask used to enable or disabl...

Page 26: ...Parameters Name Type Description policy Integer 0 Long Range only DM1 packets 1 Short Latency basic rates all DM packets 2 High Throughput basic rates DM DH packets 3 As 2 but with 2 EDR enabled 4 As...

Page 27: ...er 0 Always attempt to become master on incoming connections Should be used for a unit configured as NAP 1 Always let the connecting device select master slave role on incoming connections store Boole...

Page 28: ...ee segments a service class segment a major device class segment and a minor device class segment bits 2 7 store Boolean If store is 1 the new value is stored permanently AT BLCOD Get the Bluetooth Lo...

Page 29: ...LR Read the Connection list AT BCLR Reads an entry in the Connection list Syntax AT BCLR index Input Parameters Name Type Description index Integer The index of the entry to read Example AT BCLR 2 br...

Page 30: ...cified and S register 2017 is 1 the remote name must match this value exactly If S register 2017 is 0 this is a case sensitive substring of the remote name to connect to e g if specified to DUT it wil...

Page 31: ...ection_mode store Input Parameters Name Type Description connection_mode Integer The connection mode of PANU PANU 1 MAC only 2 NAME only 3 Both MAC and NAME store Boolean If store is 1 the new value i...

Page 32: ...ameters Name Type Description mode Integer The mode to set Station 0 or AP 1 Requires a reboot for the changes to take effect Example Input AT WMODE 1 sets WLAN mode to AP AT WMODE Get WLAN mode Stati...

Page 33: ...e 1 AT WKEY Read encryption authentication key Syntax AT WKEY Example Input AT WKEY returns the encryption authentication key at index 1 3 4 3 AT WKEYI Write Encryption Authentication Key with Index A...

Page 34: ...ey Syntax AT WACTKEY index store Input Parameters Name Type Description index Integer 1 4 store Boolean If store is 1 the new value is stored permanently AT WACTKEY Get the index of the active Encrypt...

Page 35: ...h only one antenna Syntax AT WMIMO mode Input Parameters Name Type Description mode Integer Configures which antennas should be enabled Requires a reboot for the changes to take effect Example Input A...

Page 36: ...gures WLAN World Mode 0 Disable WLAN World Mode 1 Enable WLAN World Mode NOTE When WLAN World Mode is disabled the startup time will increase Syntax AT WWM wlan_world_mode Input Parameters Name Type D...

Page 37: ...yntax AT WASSID ssid Input Parameters Name Type Description ssid String The SSID to set Max 32 characters Requires a reboot for the changes to take effect AT WASSID Gets the SSID for AP mode Syntax AT...

Page 38: ...ters Name Type Description channel Integer The channel to use Valid channels are 1 11 for 2 4 GHz and 36 40 44 48 for 5 GHz Requires a reboot for the changes to take effect AT WACH Gets the channel fo...

Page 39: ...AT AMDEFAULT Syntax AT WAAM mode Input Parameters Name Type Description mode Integer Authentication Mode 0 Open 2 WPA WPA2 PSK Requires a reboot for the changes to take effect AT WAAM Get the AP Authe...

Page 40: ...with IP forwarding AT WSMAC Set the WLAN MAC address If set to all 0 or all FF the unit s default address will be used Syntax AT WSMAC mac Input Parameters Name Type Description mac MACAddress The MA...

Page 41: ...ll receive the same IP address In layer 3 IP forward mode IP data from all data will be bridged over WLAN Please note that this mode can be combined with AT WSMAC to enable layer 2 data for one device...

Page 42: ...Syntax AT WSCP bssid ssid channel Input Parameters Name Type Description bssid MACAddress If specified the AP BSSID must match this value if left blank the BSSID is ignored ssid String The SSID of th...

Page 43: ...channel Integer The channel to scan for Example Input AT WSSCAN dutAP 1 will return 0 48 access points in the immediate surroundings then return OK AT WSSCAN Scan the surroundings for access points Wi...

Page 44: ...Open 1 WEP64 128 shared secret 2 WPA WPA2 PSK 3 LEAP 4 PEAP store Boolean If store is 1 the new value is stored permanently AT WSAM Get the Station Authentication Mode Syntax AT WSAM Example Input AT...

Page 45: ...entication AT WSUSER Set the user name Syntax AT WSUSER user_name store Input Parameters Name Type Description user_name String The user name to set max 63 characters store Boolean If store is 1 the n...

Page 46: ...tore Input Parameters Name Type Description domain String The domain to set Max 63 characters store Boolean If store is 1 the new value is stored permanently Example Input AT WSDOMAIN Cool 1 AT WSDOMA...

Page 47: ...tore Input Parameters Name Type Description pass_phrase String The pass phrase to set Max 63 characters store Boolean If store is 1 the new value is stored permanently Example Input AT WSPASS Secret 1...

Page 48: ...LAN client also channels 12 13 120 124 128 are possible store Boolean If store is 1 the new value is stored permanently Example AT WSCHL channel0 channel1 channel2 1 AT WSCHL Gets the Channel list for...

Page 49: ...ion index Integer The index 0 49 of the entry to read Example AT WSCLR 2 br WSCLR 2 bssid ssid channel AT WSCLR Reads the list of Connections Access Points that the unit can use Syntax AT WSCLR Exampl...

Page 50: ...nel store Input Parameters Name Type Description index Integer The index 0 49 of the AP to write bssid MACAddress The BSSID of the AP ssid String The SSID of the AP Max 32 characters channel Integer T...

Page 51: ...IE Network Type 0x4544 br AILVIE Module Type 0x0056 br AILVIE Pre Boot Version 2 0 10 br AILVIE Bootloader Version 2 0 10 br AILVIE Software Version 1 2 2 FS2 0 0 br AILVIE Software Description Name o...

Page 52: ...t Parameters Name Type Description password String The password set using AT AMPW Example AT AMLI password AT AMLI Returns 1 if logged in Syntax AT AMLI Example AT AMLI 3 8 2 AT AMLO Logout AT AMLO Lo...

Page 53: ...Get the system status Syntax AT AMSTAT verbose Input Parameters Name Type Description verbose Boolean 0 Terse 1 Verbose Example AT AMSTAT 0 br AMSTAT Uptime 25 br br AMSTAT WLAN Mode Station MAC 02 0...

Page 54: ...ed when protocol bit 2 is set protocol Integer The protocol to use for sending events Bit 0 Send events over TCP AT connections Bit 1 Send events over Layer 2 mac_address must be specified Bit 2 Send...

Page 55: ...ist at the given position store Boolean If store is 1 the new value is stored permanently Example AT AMECFL 1 2 3 4 5 6 1 br OK AT AMECFL Get the list of supported Easy Configuration Modes Syntax AT A...

Page 56: ...SI Get the supported interfaces Syntax AT AMSI Example AT AMSI br AMSI Ethernet br AMSI WLAN 2 4 GHz br AMSI WLAN 5 0 GHz br AMSI WLAN MIMO 3 8 11 AT AMSBC Supported Bluetooth Configuration AT AMSBC G...

Page 57: ...ers Name Type Description general_data String A custom string to store Max length is 32 characters store Boolean If store is 1 the new value is stored permanently Example Input AT AMGD 1 1 1 1 gives O...

Page 58: ...lean If store is 1 the new value is stored permanently Requires a reboot for the changes to take effect AT AMTL Get TCP listener settings Syntax AT AMTL Example AT AMTL br AMTL port enabled 3 8 14 AT...

Page 59: ...that should be used for ATcommands enable Boolean 0 Disable ATover Ethernet 1 Enable ATover Ethernet store Boolean If store is 1 the new value is stored permanently Requires a reboot for the changes...

Page 60: ...er Set state of PROFIsafe mode 0 Disable 1 Enable apply_now Boolean 0 Apply changes after reboot 1 Apply changes immediately store Boolean If store is 1 the new value is stored permanently Example Inp...

Page 61: ...AULT Get the DEFAULT VALUES Syntax AT AMDEFAULT Example Input AT AMDEFAULT 3 8 21 AT AMLOG Read event log AT AMLOG Command to clear current event log Syntax AT AMLOG clear Input Parameters Name Type D...

Page 62: ...eters Name Type Description data String The new data to be advertised as a HEX string with max 28 bytes store Boolean If store is 1 the new value is stored permanently Example AT BLEAD 0102000305FF 1...

Page 63: ...scription data String The new data to be responded as a HEX string with max 31 bytes store Boolean If store is 1 the new value is stored permanently Example AT BLESRD 0102000305FF 1 br OK AT BLESRD Ge...

Page 64: ...Integer The BLE operating mode 0 BLE off 1 Central operating mode store Boolean If store is 1 the new value is stored permanently Requires a reboot for the changes to take effect Example AT BLEOM 1 1...

Page 65: ...tooth address of the device on the format XX XX XX XX XX XXy where y is p or r depending on if the address is private or random Output Parameters Name Type Description devicename String Devicename of...

Page 66: ...Ethernet JSON Web interface Each TCP connection is its own session Note The RAW BLE mode may not be entered from the JSON Web interface Syntax AT BLERM mode Input Parameters Name Type Description mode...

Page 67: ...iscoverability mode to set 1 BLE non discoverable mode 2 BLE limited discoverable mode 3 BLE general discoverable mode store Boolean If store is 1 the new value is stored permanently Example AT BLEDM...

Page 68: ...ode Integer The BLE connectability mode to set 1 BLE non connectable mode 2 BLE connectable mode store Boolean If store is 1 the new value is stored permanently Example AT BLECM mode store br OK AT BL...

Page 69: ...1 Discover devices in general or limited discoverability mode 2 Discover devices in limited discoverability mode 3 Discover all devices each device may be displayed multiple times length Integer Lengt...

Page 70: ...tted connection handle ffff if the connection fails bd_addr String Bluetooth address of the device connecting to Example AT BLEC bd_addr br OK br BLEC con_handle bd_addr 3 9 10 AT BLED Disconnect from...

Page 71: ...utput Parameters Name Type Description attr_handle Integer Decimal formatted attribute handle start_group_handle Integer Decimal formatted start group handle end_group_handle Integer Decimal formatted...

Page 72: ...eters Name Type Description con_handle Integer Connection handle uuid String UUID to search for Output Parameters Name Type Description attr_handle Integer Decimal formatted attribute handle start_gro...

Page 73: ...e of the service Output Parameters Name Type Description attr_handle Integer Decimal formatted attribute handle start_group_handle Integer Decimal formatted start group handle end_group_handle Integer...

Page 74: ...formatted attribute handle properties Integer Hexadecimal formatted properties The individual bits indicate a specific property Bit 0 Broadcast Bit 1 Readable Bit 2 Writable with no response Bit 3 Wri...

Page 75: ...ue service_end_ handle Integer End handle of the service which the characteristic belongs to Output Parameters Name Type Description char_attr_handle Integer Decimal formatted handle to the characteri...

Page 76: ...e attr_handle offset Input Parameters Name Type Description con_handle Integer Connection handle attr_handle Integer Handle to the characteristic or descriptor value offset Integer Offset where to sta...

Page 77: ...e uuid Input Parameters Name Type Description con_handle Integer Connection handle start_handle Integer Handle where to start looking for the UUID end_handle Integer Handle where to stop looking for t...

Page 78: ...10003000A would read characteristics with handles 0x0001 0x0003 and 0x000A Output Parameters Name Type Description data String Data formatted as a hexadecimal string Example AT BGCRCM con_handle attr_...

Page 79: ...when the device is in central operating mode AT BGCWCL Write long characteristic or descriptor value Syntax AT BGCWCL con_handle attr_ handle data reliable flag offset Input Parameters Name Type Descr...

Page 80: ...mple Event BLEC con_handle bd_addr 3 11 2 AT BLED Device disconnected Event Device disconnected for Central or Peripheral Bluetooth LE mode Output Parameters Name Type Description con_handle Integer H...

Page 81: ...E mode Output Parameters Name Type Description con_handle Integer Hexadecimal formatted connection handle attr_handle Integer Handle to the attribute value String Value as a HEX string Example Event B...

Page 82: ...text along with the S3 parameter If the value of S4 is changed in a command line the result code issued in response to that command line will use the new value of S4 5 Backspace Character 0 255 8 This...

Page 83: ...ossible handover candidates only applicable if S4004 is 0 WSRHC Roaming handover candidate only applicable if S4004 is 0 WSRH Roaming handover only applicable if S4004 is 0 WSFRG Roaming reassociating...

Page 84: ...and will be ignored 2007 Reserved 2008 Reserved 2009 Reserved 2010 Max Number of Connections 0 7 1 The default value is set at production time and might differ for different product models It is reada...

Page 85: ...Roaming list trigger input 0 1 1 0 Do not trig on digital input 1 Trig on digital input default 2703 Minimum acceptable RSSI 128 127 70 Defines at what RSSI level a connection is considered acceptable...

Page 86: ...on to detect dropped connections Detecting dead links should be done on a higher level i e in the user application protocol There is a lot of information available on the subject on the web 0 TCP keep...

Page 87: ...ect Linkloss Timeout 100 32000 2000 Connect linkloss timeout Unit in multiples of 1 0 ms 6007 Connect Create Connection Timeout 0 65535 5000 Connect create connection timeout Unit in multiples of 1 0...

Page 88: ...500 0 Remote name request latency for number of connection events Unit in multiples of 1 0 ms 6020 Remote Name Linkloss Timeout 100 32000 2000 Remote name request linkloss timeout Unit in multiples of...

Page 89: ...This page intentionally left blank...

Page 90: ...last page 2018 HMS Industrial Networks Box 4126 300 04 Halmstad Sweden info hms se SCM 1202 004 EN 1 7 2018 09 03 9427...

Reviews: