1. Summary
Anoto DP-201 is the streaming digital pen using Bluetooth SPP profile, which sends the input data to server in real-time.
SENA Parani-MSP1000 is the Bluetooth Access Point, which supports the multiple Bluetooth device connection and the multiple Bluetooth services.
MSP1000 can forward the data from multiple Bluetooth digital pens like DP-201 and DP-301 to remote servers over IP network.
This report illustrates how we made the MSP1000 communicate with DP-201 SPP pen.
PC server <–(Ethernet)- MSP1000 <-(Bluetooth:SPP)- Digital pen
2. IP configuration of MSP1000
User can access to MSP1000 for the IP configuration either by console(serial) cable connection or by Bluetooth SPP connection. In this document, we illustrate only the configuration by console cable connection.
1) Plug one end of the serial cable to the console port of MSP1000.
2) Plug the other end of the serial cable to the serial port of user PC.
3) Open a terminal program in the PC(ex: Hyterterminal) and set up the connection as below, and then start the communication
9600 Baud rate
Data bits 8
Parity None
Stop bits 1
No flow control
4) Login/Passwords are root/root
5) In the CLI, various shell commands are supported. Type in “editconf” in order to configure MSP1000.
| Welcome to Parani-MSP1000
MSP1000 login: root |
Following the menus in the CLI, user can change the network configuration of MSP1000. When it is completed, user can access to MSP1000 via Telnet/SSH/web-browser to configure other parameters.
| ——————————————————————————- Network Configuration ——————————————————————————- 1. IP configuration 2. IP filtering configuration 3. TCP service configuration <ESC> Back, <ENTER> Refresh –> 1 ——————————————————————————- IP Configuration ——————————————————————————- 1. ETHERNET 0 (eth0) configuration 2. ETHERNET 1 (eth1) configuration <ESC> Back, <ENTER> Refresh –> 1 ——————————————————————————- ETHERNET 0 (eth0) configuration ——————————————————————————- 1. IP mode: Static IP 2. IP address: 192.168.18.145 3. Subnetmask: 255.255.0.0 4. Gateway: 192.168.1.1 5. Primary DNS: 168.126.63.1 6. Secondary DNS: 168.126.63.2 <ESC> Back, <ENTER> Refresh –> |
Attention!
Before getting out of the editconf menu, user should run the‘save’ and ‘apply’commands in order that the new parameters are saved and applied.
3. Bluetooth configuration by web-browser interface
1) MSP1000: Access to web-browser for the Bluetooth parameter configuration
- Type in the IP address of MSP1000 in the web-browser. The ID/Password are root/root.
- Go to menu: Bluetooth -> General properties
- In the menu “Specific pin code”, type in the Bluetooth address and the pin code of the digital pen. And then click the [Add] button.
- Repeat the process above to register more digital pens if necessary.
- Click [Save & apply]
2) DP201 and MSP1000: Pairing from MSP1000
- Open the cap of the pen and get the pen ready for pairing: the LED of the pen will be turned on.
- From the serial console of MSP1000, user can do the pairing with the pens with the command as below
| [root@MSP1000 /]# sdptool -i hci0 browse 00:07:cf:57:f7:4d Browsing 00:07:CF:57:F7:4D … [root@MSP1000 /]# |
* The “-l” option is for assigning the Bluetooth interface(the module number)of MSP1000 and that could be like hci0(module 1), hci1(module 2), hci2(module 3) and hci3(module 4) in case of MSP1000C. Each interface can accommodate up to 7 digital pens.
- When the command above is completed, the pen vibrates three times.
- Now, close the cap to turn off the pen.
3) MSP1000: Pairing mode configuration
- Set the MSP1000 as Acceptor for Bluetooth connection. Now, the MSP1000 will accept the connection coming from the digital pens.
4) MSP1000 : Configure as client for the communication with a server(PC). By that, when users create documents with digital pen, the data will be forwarded to the TCP server(PC) by MSP1000.
- Serial Port Profile -> Port configuration -> Network Service
- When the [Add] is clicked, a port with default configuration is created.
5) Click the newly created port and modify its parameters for client mode
- Primary remote host : register the IP address of the server(PC) and the port number of the pen software in the server. And then [Save & Apply]
4. Test
1) DP-201 : Click [Play] button on its proper sheet.
2) DP-201 : Check if its LED blinks in Green.
3) When conection is up, the LED will be in solid Green.
4) If the pen fails to connect to MSP1000, it twill vibrate and the LED will blink in red.
5) After the correct connection, if the data is transmitted, user can check the data using the TCP server program.
Wow! Thank you! I always wanted to write in my site some thing like that. Can I get needed of the post to my weblog?