Skip to content

mqueue message size limit too small #1

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Use npp-server example to receive a vCard from an Android phone

What is the expected output? What do you see instead?
Expect a dump of the NDEF message with the vcard data.  Get nothing.  Running 
under strace suggests that it needs to fragment the message when putting it in 
the message queue:
[pid 22867] mq_timedsend(4, "C 
\0\1\0\0\0\1\1\0\0\0\256\322\f\237text/x-vcardBEGI"..., 187, 0, NULL) = -1 
EMSGSIZE (Message too long)


What version of the product are you using? On what operating system?
Git head (29907cacab0c), Debian testing x86_64, ACR122U


Please provide any additional information below.
Blindly going in and making wild increases to the mq_msgsize parameter when 
creating the message queues works around the problem, but some form of message 
fragmentation seems like it would be a more durable solution.

Original issue reported on code.google.com by matthew....@gmail.com on 19 Jul 2013 at 3:04

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions