PDA

View Full Version : Sony-Ericsson MBW-150 bluetooth watch plugin



mhwlng
March 23rd, 2008, 06:30 AM
see pictures below..

Via a link in my sig, you can get a girder plugin to communicate with a Sony-Ericsson MBW-150 bluetooth watch.

http://www.sonyericsson.com/cws/products/accessories/overview/mbw-150executiveedition (http://www.sonyericsson.com/cws/products/accessories/overview/mbw-150executiveedition)

Note, that this will only work with XP SP2 and a bluetooth dongle, supported by the built-in microsoft bluetooth stack. (other BT stacks like widcomm are not supported. Vista is not tested)

Also Note that this will ONLY work for a single PAIRED watch (no support for multiple watches) !
If you pair the watch, no services are shown and no COM port is created.
This is normal. No additional configuration is needed..

I'm not sure what will happen, if other devices with the Serial Port Profile are also paired to the same bluetooth dongle. This will probably cause problems.

this plugin does not interfere with the BT discovery plugin
http://www.promixis.com/forums/showthread.php?t=14891
that discovers UNPAIRED BT devices.

I got the inspiration here, where the watch is controlled by a windows mobile device :
http://forum.xda-developers.com/showthread.php?p=1960856 (http://forum.xda-developers.com/showthread.php?p=1960856)

http://forum.xda-developers.com/showthread.php?t=362218 (http://forum.xda-developers.com/showthread.php?t=362218)

a test GML file is included, that shows all the events and (commented) lua functions.

the plugin can :

* receive 5 different button presses from the watch:
(volume up/down, stop, play, next)

* send a graphic image or text (96x16) to the watch.
If you use a small font, you can squeeze 2 or 3 lines of text in a graphic.
the 2-line text in below picture uses the 04b03 8pt font
http://www.getfreefonts.info/free_font.04b03.html (http://www.getfreefonts.info/free_font.04b03.html)
Note, that if an image is displayed, the above keys are blocked until you press the 'hang up' button, to hide the picture again (because the image is meant for caller id purposes)

* make the watch vibrate

* make the watch scroll a 192x16 image or text a few times (meant for currently playing music track, so music icon is always displayed and above keys still work during display)...

* alternate two texts on the screen, using a font built into the watch (meant for caller name+phone number,so caller id icon is also displayed)

* show a volume control 'bar' (built-into the watch) and volume up/down commands, can be received (not without also displaying the 'volume bar').

* send connect/disconnect and various other events.
The connect/disconnect events include the unique MAC address of the watch.

If the (paired) watch comes into bluetooth range (i.e. you stand outside the front door) then you just need to press a button on the watch and in < 1 second, it is connected.
Girder then receives a 'connected' message and then you could open the door automatically...

Currently, for front door access, I do a bluetooth discovery to detect my (not-paired) phone, which is slower (takes maybe 5 seconds)

http://www.promixis.com/forums/showthread.php?t=14891

http://www.promixis.com/forums/showthread.php?t=17314

note : that this watch needs regular recharging (every couple of days to 2 weeks, depending on bluetooth use)

note : that this thing is very heavy (stainless steel).
Music: 85 g; Classic: 77 g; Exec: 182 g ...

Marcel

mhwlng
March 28th, 2008, 05:11 PM
see pictures of the first examples how the watch could be used :

basically, the 'stop' (middle left) button is always used to change mode.
if you press this button within 5 seconds, it activates the next mode.
Otherwise, it displays the current mode for about 2 seconds

modes :

*heating
-shows current room temperature and temperature setpoint.
-volume up/down changes the setpoint

*lighting
-shows current dim level setpoint
-volume up/down changes the setpoint

*zone
-shows current active zone for music (living room/office/bedroom)
-volume up/down changes the zone

*music
-only affects the active zone
-each time a new track starts playing, then the artist+title is shown for 2 seconds.
-the 'play' button pauses/plays the song
-the 'next' button selects the next song in the playlist
-volume up/down changes the volume of the music

(email/voicemail/caller id notification pops up a message and also causes the watch to vibrate)

Marcel

Rob H
March 28th, 2008, 07:19 PM
Pretty cool as ever Marcel!