Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8855113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T14:03:19+00:00 2026-06-14T14:03:19+00:00

Which library should I be using, and how? Python XBee seems to be only

  • 0

Which library should I be using, and how?

Python XBee seems to be only able to send commands in API mode, and I can’t find an example of anyone using it to send a string. Maybe I’m misunderstanding what API mode is, but I can’t find a payload in the documentation…

Are Digi’s Python Socket extensions baked into Python? I can’t seem to get any of the constants they claim to have defined in my Python (2.7.3rc2), nor can I find a mention of how to get these extensions on their site. It seems like that could be a way to pass around strings, but how do I use it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T14:03:20+00:00Added an answer on June 14, 2026 at 2:03 pm

    If the Xbee is connected to the computer as a serial device you can just use a serial library such as pySerial. Here are some code snippets from a project I just finished.

    # Connect to Xbee
    self.ser = serial.Serial(port, baud, timeout=timeout)
    
    # Send data (a string)
    self.ser.write(packet)
    
    # Read data
    self.data += self.ser.read()
    

    We were using the Xbees in transparent mode – each byte you write on one end is visible on the other end with a read. There was no need for a special Xbee library.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking into developing a console application in python which should be able to
I want to create a library of Python modules which I will be able
Among all the encodings available here http://docs.python.org/library/codecs.html which one is the one I should
I wrote library which can add and update objects in salesforce. I use beatbox
I need some library which would be able to keep my urls Indexed and
When I type which python, I get the following result: /Library/Frameworks/Python.framework/Versions/Current/bin/python when I type
I am using libxml2 under python. Unfortunatly the python version of this library is
I am using SqlAlchemy, a python ORM library. And I used to access database
Using the python library openpyxl I am reading an XLSX file created in excel
I'd like to be able to do matrix operations using a Python class as

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.