This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

8051 with zigbee

any ideas on how i can write a code to transmit an AT command from 8051 to zigbee serially? thanks in advance

Parents
  • "But i'm not clear as to how to send a string of data"

    Well, a string is just a sequence of characters, isn't it?

    So you send the first, then the second, then the third, etc - until you reach the end.

    This is just basic indexing through an array. If you're not clear on that, then it's time to get back to the basic 'C' textbook

    blog.antronics.co.uk/.../

    Remember that the serial transmission is slow compared to the instruction execution - so you need to wait for the transmission of one character to finish before starting the next.

    Also, you need to wait for and correctly handle the response to each AT command before starting the next...

Reply
  • "But i'm not clear as to how to send a string of data"

    Well, a string is just a sequence of characters, isn't it?

    So you send the first, then the second, then the third, etc - until you reach the end.

    This is just basic indexing through an array. If you're not clear on that, then it's time to get back to the basic 'C' textbook

    blog.antronics.co.uk/.../

    Remember that the serial transmission is slow compared to the instruction execution - so you need to wait for the transmission of one character to finish before starting the next.

    Also, you need to wait for and correctly handle the response to each AT command before starting the next...

Children