![Telit Wireless Solutions BlueMod plus S42/Central Software User'S Manual Download Page 28](http://html1.mh-extra.com/html/telit-wireless-solutions/bluemod-plus-s42-central/bluemod-plus-s42-central_software-users-manual_1083613028.webp)
S42/Central Software User Guide
1VV0301318 Rev. 3
– 2018-08-31
Reproduction forbidden without written authorization from Telit Communications S.p.A.- All Rights Reserved.
Page 28 of 66
The example will add data channels for two characteristics of the service UUID: “FEFB”.
cc ff 1b 41 54 2b 4c 45 41 44 44 43 48 41 4e 3d 30 78
31 30 2c 30 78 31 33 2c 43 4d 44 0d
AT+LEADDCHAN=0x10,0x13,CMD
cc ff 02 0d 0a
cc ff 04 30 78 30 38
cc ff 02 0d 0a
cc ff 06 0d 0a 4f 4b 0d 0a
0x08
OK
cc ff 1b 41 54 2b 4c 45 41 44 44 43 48 41 4e 3d30 78
31 30 2c 30 78 31 31 2c 43 4d 44 0d
AT+LEADDCHAN=0x10,0x11,CMD
cc ff 02 0d 0a
cc ff 04 30 78 30 37
cc ff 02 0d 0a
cc ff 06 0d 0a 4f 4b 0d 0a
0x07
OK
To add a MUX data channel it is required to set the connection handle and characteristic handle
of this peripheral device in addition to the “write type”.
As result of the “AT+LEADDCHAN” command the S42/Central returns the MUX
channel ID include the response message “OK”. The reported MUX channel ID value will be
different to each AT+LEADDCHAN command during the connection.
The list reports all information of the service UUID: “FEFB” in details:
characteristic handle:
0x0011
characteristic properties:
PROP:0x04
characteristic UUID:
UUID: 00000001000010008000008025000000
MUX channel:
0x08
characteristic handle:
0x0013
characteristic properties:
PROP:0x10
characteristic UUID:
UUID: 00000002000010008000008025000000
MUX channel:
0x07
3.2.1.5.
Enable Indications or Notifications for MUX Channel
If the GATT server characteristic uses the properties “indication” or “notification”, it is possible
to enable this feature by the client side in the MUX mode as well.
The MUX based command structure is identical to the AT based command.
See also: 3.1.1.6 Reading Data with Indications or Notifications