Anybus Wireless Bolt Скачать руководство пользователя страница 26

AT Commands

24 (88)

3.3.23

AT*BPP Packet policy

AT*BPP=

Set the Bluetooth packet policy. This policy is used for subsequent connections. Any ongoing
connections are not affected. For default value see AT*AMDEFAULT.

Syntax:

AT*BPP=<policy>,<store>

Input 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 3 but with 3-EDR enabled

store

Boolean

If store is 1 the new value is stored permanently.

AT*BPP?

Get the Bluetooth packet policy.

Syntax:

AT*BPP?

Example:

AT*BPP?<br>*BPP:<policy>

Wireless Bolt

/ Wireless Bridge II

Reference Guide

SCM-1202-004 EN 1.7

Содержание Wireless Bolt

Страница 1: ...Wireless Bolt Wireless Bridge II AT Commands REFERENCE GUIDE SCM 1202 004 EN 1 7 ENGLISH...

Страница 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...

Страница 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...

Страница 4: ...This page intentionally left blank...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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_...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 89: ...This page intentionally left blank...

Страница 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...

Отзывы: