jankolkmeier / svd-xbee

Node talks to xbee radios through serialport
40 stars 14 forks source link

Allow choice of whether to use API mode 2 #4

Closed mozz100 closed 12 years ago

mozz100 commented 12 years ago

I've just added an option to XBee that allows you to specify api_mode when initializing.

By default API mode is set to 2 and behaviour is unchanged.

Setting api_mode to anything other than 2 will cause escaping not to be used (I have my co-ordinator in API mode 1, i.e. no escaping, although I might change it!)

mozz100 commented 12 years ago

By the way this pull request includes all the commits in my previous pull request as well - they were nearly all documentation

mozz100 commented 12 years ago

This pull request can be ignored; it's superceded by a later pull request.