ZeroMQ publisher demo application running on LPC1768 and PicoTCP. GPL v2
Dependencies: PicoTCP lpc1768-picotcp-eth-polling mbed-rtos mbed
Revision 4:6158f706297f, committed 2013-06-26
- Comitter:
- tass
- Date:
- Wed Jun 26 07:06:14 2013 +0000
- Parent:
- 3:a7d16398a020
- Commit message:
- fixed flag that was causing assertion failure for zmtp30
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r a7d16398a020 -r 6158f706297f main.cpp --- a/main.cpp Mon Jun 24 09:30:20 2013 +0000 +++ b/main.cpp Wed Jun 26 07:06:14 2013 +0000 @@ -31,7 +31,7 @@ void zmq_send(struct pico_socket *s, char *txt, int len) { struct zmq_msg msg; - msg.flags = 0; + msg.flags = 4; msg.len = (uint8_t) len; memcpy(msg.txt, txt, len); pico_socket_write(s, &msg, len + 2);