# programming xbee modules

**URL:** <https://forums.digi.com/t/programming-xbee-modules/2906>\
**Category:** Python\
**Created:** [February 17, 2010, 8:56am UTC](https://forums.digi.com/t/programming-xbee-modules/2906 "2010-02-17T08:56:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chik3n](https://avatars.discourse-cdn.com/v4/letter/c/3bc359/32.png) [@chik3n](https://forums.digi.com/u/chik3n)\
**Post date:** [February 17, 2010, 8:56am UTC](https://forums.digi.com/t/programming-xbee-modules/2906/1 "2010-02-17T08:56:53Z")

</div>

Hi,

is it possible to run programs on the individual modules ? So far my python scripts are running on the gateway. I would like to put more “logic” into the sensor / modules.

for example a sample conversation…  
Gateway :  
sends “hey modules, give me a list of your direct neighbors incl. rssi”

Module1:  
sends “hey gateway, here you are : (module1,40), (module2,50) , (gateway,25)”

Module2:  
sends “hey gateway, here you are (…)”

Maybe I am blind, but so far I did not find any hint or tutorial concerning running programs on the modules. Any hint or link is appreciated !

thanks in advance, chik3n

---

<div class="post-metadata">

**Author:** ![Admin1](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@Admin1](https://forums.digi.com/u/Admin1)\
**Post date:** [February 17, 2010, 3:57pm UTC](https://forums.digi.com/t/programming-xbee-modules/2906/2 "2010-02-17T15:57:36Z")

</div>

Currently it is not possible to run actual programs on the xbee modules themselves. Perhaps with a co-processor or SBC this might be possible, but it would be a solution you’d need to create.

The built-in python is a benefit of the ConnectPort X line, in that you can run the python script on the gateway to pre-process information from your wireless PAN before sending it across IP via the Gateway.

---

<div class="post-metadata">

**Author:** ![chik3n](https://avatars.discourse-cdn.com/v4/letter/c/3bc359/32.png) [@chik3n](https://forums.digi.com/u/chik3n)\
**Post date:** [February 22, 2010, 9:46am UTC](https://forums.digi.com/t/programming-xbee-modules/2906/3 "2010-02-22T09:46:37Z")

</div>

Hi,

thanks for the response. If I won’t go down the python road, do I have a chance to program the modules with say c or assm ? I found a document under :

[http://ftp1.digi.com/support/documentation/productmanual\_xbeecodedevelopment.pdf](http://ftp1.digi.com/support/documentation/productmanual_xbeecodedevelopment.pdf)

Is there anything supported by digi ? Am I stuck with “dumb” modules ?

any hints are appreciated.

cheers, chik3n

---

<div class="post-metadata">

**Author:** ![lynnl](https://avatars.discourse-cdn.com/v4/letter/l/22d042/32.png) [@lynnl](https://forums.digi.com/u/lynnl)\
**Post date:** [February 23, 2010, 5:08pm UTC](https://forums.digi.com/t/programming-xbee-modules/2906/4 "2010-02-23T17:08:58Z")

</div>

The main reason Digi does not allow a customer to ‘touch’ the XBee firmware (other than blowing it away and loading your own 100% replacement) is there is no amount of RAM/flash which Digi can promise that a customer can use in the future. The XBee firmware is ALWAYS using as much as it can & wishing for more.

Yet, the Product Manager for the XBee asked me to relay this:  
" … Digi is about to press release just this kind of XBee module, where there is a section of user-programmable application code space (safely and securely separate from our RF code). Look for the press release next week. Development kits will be available late March."

So you should provide your contact info to your local sales rep and have it CC’d to Jared Hofhiens so Digi can get you on a contact list.

---

<div class="post-metadata">

**Author:** ![chik3n](https://avatars.discourse-cdn.com/v4/letter/c/3bc359/32.png) [@chik3n](https://forums.digi.com/u/chik3n)\
**Post date:** [February 23, 2010, 5:26pm UTC](https://forums.digi.com/t/programming-xbee-modules/2906/5 "2010-02-23T17:26:08Z")

</div>

Hi,

thanks for the answer. I will contact my sales rep. .

cheers, chik3n
