# What Python script is needed to read data from the serial port of a ConnectPort and send?

**URL:** <https://forums.digi.com/t/what-python-script-is-needed-to-read-data-from-the-serial-port-of-a-connectport-and-send/12729>\
**Category:** Python\
**Tags:** serial, gateway, python\
**Created:** [March 26, 2014, 9:22am UTC](https://forums.digi.com/t/what-python-script-is-needed-to-read-data-from-the-serial-port-of-a-connectport-and-send/12729 "2014-03-26T09:22:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fayezbee](https://avatars.discourse-cdn.com/v4/letter/f/a5b964/32.png) [@Fayezbee](https://forums.digi.com/u/Fayezbee)\
**Post date:** [March 26, 2014, 9:22am UTC](https://forums.digi.com/t/what-python-script-is-needed-to-read-data-from-the-serial-port-of-a-connectport-and-send/12729/1 "2014-03-26T09:22:59Z")

</div>

Once received over the one available serial interface, data should be sent from the ConnectPort to the nearest Wi-Fi access point. Digi ConnectPort model is the TS1W MEI. The sender in this case is an Arduino Uno board.

I would like to know how to write the Python script needed to do this job?

---

<div class="post-metadata">

**Author:** ![kjensen8](https://avatars.discourse-cdn.com/v4/letter/k/8e8cbc/32.png) [@kjensen8](https://forums.digi.com/u/kjensen8)\
**Post date:** [April 4, 2014, 4:24pm UTC](https://forums.digi.com/t/what-python-script-is-needed-to-read-data-from-the-serial-port-of-a-connectport-and-send/12729/2 "2014-04-04T16:24:50Z")

</div>

[http://www.digi.com/wiki/developer/index.php/Connect\_Port\_Serial\_Port\_Access](http://www.digi.com/wiki/developer/index.php/Connect_Port_Serial_Port_Access)
