Sample 9 - Using Contexts and Client configurations

This sample shows how to use a client configuration and contexts, to make your application more generic.

We illustrate this using a more extended demo with a Bose system(Bose V20-V30 and 28-38-48 LifeStyle series. More recent series are supported as well, but not documented here).

If your Bose system is set up correctly for multi-room support, you can try out the demo on this page.
In a multi-room setup, there are 2 zones : zone A (value 0) and zone B (value 1).
There can be up to 14 rooms (values 0, 1, .. 13). The room number for each amplifier (and corresponding set of boxes), and which rooms belong to which zones can be configured through the dip-switches on the amplifiers. This cannot be modified through software.

The demo below makes use of a context javascript object. Actions are defined as html-attributes of the buttons, and translated into real commands by another dedicated javascript object. As such, this demo is more oriented towards javascript and html development

Back to sample list

Click here for sample specific documentation

Rooms

Room 1
Room 2
Room 3
Room 4
 
Room 5

Sources

source 1
source 2
source 3
source 4
source 5
 
 
 
 
 
 
 
 

Menu

Navigation

Keypad

1
2
3
4
5
6
7
8
9
0

Play

 
 
 
 
 

Info

info 1
info 2
info 3