Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serdes fails to use JSON with Leshan #364

Open
dsuni opened this issue Oct 5, 2017 · 0 comments
Open

Serdes fails to use JSON with Leshan #364

dsuni opened this issue Oct 5, 2017 · 0 comments

Comments

@dsuni
Copy link

dsuni commented Oct 5, 2017

Steps to reproduce:

  1. Create a standard bootstrap.conf:
    ServerURI=coap://leshan.eclipse.org:5683
    SecurityMode=0
    PublicKey=[PublicKey]
    SecretKey=[SecretKey]
    ServerID=1
    HoldOffTime=30
    ShortServerID=1
    Binding=U
    LifeTime=30
    DefaultMinimumPeriod=1
    DefaultMaximumPeriod=-1
    DisableTimeout=86400
    NotificationStoringWhenDisabledOrOffline=true

  2. Run awa_bootstrapd --port 15685 --config bootstrap.conf

  3. Run awa_clientd --endPointName somethingrandom --bootstrap coap://127.0.0.1:15685 --verbose

  4. Go to http://leshan.eclipse.org/#/clients/somethingrandom

  5. Set single value format to JSON

  6. Observe some values (doesn't matter which ones)

Expected result:
Operation goes through.

Actual result:
[ERROR] [lwm2m_serdes.c:119] Serialiser not found for type 11543
Leshan receives a 2.00 response, which is not valid.

Reproducible:
Always

Version used:
68cab63 (28 May)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant