WB50NBT
Quick Start Guide
Embedded Wireless Solutions Support Center:
http://ews-support.lairdtech.com
www.lairdtech.com/wi-fi
11
© Copyright 2016 Laird. All Rights Reserved
Americas: +1-800-492-2320
Europe: +44-1628-858-940
Hong Kong: +852 2923 0600
Note: Consult the CLI documentation for more detailed information regarding the sdc_cli commands and
other examples for profile configuration. This documentation is available from the Documentation
tab of the Laird
3. The WB should now be connected to the new AP configured in the profile. Type status at the sdc_cli
prompt and if all is operating correctly you should receive the following output:
Status: Authenticated
Config name: quickStart
SSID: quickStartSSID
Channel: 36
RSSI: -71
Device Name:
MAC: 00:17:23:e0:38:e4
IP: (DHCP)
IPv6:
AP Name:
AP MAC: 54:78:1a:e0:42:b0
Bit Rate: 6 mpbs
Tx Power: 5 mW
Beacon Period: 102ms
DTIM: 1
Note:
It is also possible to configure the WB50 NBT using the integrated laird WebLCM via the
Ethernet or g_ether USB connection. See the Web LCM Linux Platform Application Note for
information. This documentation is available from the Documentation tab of the Laird
Bluetooth
The WB50NBT uses smartBASIC to control the Bluetooth interface. smartBASIC is an event-driven programming
language designed to make Bluetooth development quicker and simpler. Users can write a smartBASIC
application to perform Bluetooth operations on the WB50NBT.
When the WB50NBT powers up, smartBASIC runs as a daemon process which is running a Serial Port Profile to
Wi-Fi bridging application named SPPBr.
In the command line, enter the command ps. The following smartBASIC process appears in the list:
smartSS -E 7 -d -a -c /usr/share/smartBASIC/apps/$autorun$.SPPBr
The WB50NBT comes preloaded with sample applications that can be found in the following directory:
/usr/share/smartBASIC/apps. The SPP-Wi-Fi bridging application in this directory is the same one that the
WB50NBT automatically runs on boot. This application forms a bridge in between Wi-Fi and Bluetooth SPP and
sends the data from one interface to another.