Thanks,
Jared
> --
> You received this message because you are subscribed to the
> Google Groups "MorbidQ" group.
> To post to this group, send email to mor...@googlegroups.com.
> To unsubscribe from this group, send email to
> morbidq+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/morbidq?hl=en.
>
>
>
From: mor...@googlegroups.com [mailto:mor...@googlegroups.com] On Behalf Of Jared Wilson
Sent: Monday, March 15, 2010 2:48 PM
To: mor...@googlegroups.com
Subject: Re: Packet Question
pkt = PKTv1()
pkt.instance = 4
pkt.user_data = "['Model1', '%s', 'Volts']" % (value)
newData = "%s" % (str(pkt))
self.send(CHANNEL_NAME, newData)
I just read that there this:
To send a BytesMessage, you should set the field 'bytes_message' to 1.
Im not sure how to pass this in to the send??
Thanks,
Jared
Sent: Monday, March 15, 2010 3:18 PM
Sent: Monday, March 15, 2010 3:37 PM
self.send(CHANNEL_NAME, newData)
Decoding at destination:
base64.b64.b64decode(data)
Thanks,
Jared
Sent: Monday, March 15, 2010 3:56 PM