GithubHelp home page GithubHelp logo

Test failures on MinGW about jansson HOT 1 CLOSED

akheron avatar akheron commented on September 17, 2024
Test failures on MinGW

from jansson.

Comments (1)

minq-park-lge avatar minq-park-lge commented on September 17, 2024

@akheron
I'm using 2.10.0 version but this issue also occurs.
Is this known issue ?

    json_t *json_common = json_pack("{sIsssssssi}",
            "mid", (json_int_t)get_message_id(),
            "did", get_device_id(),
            "kind", get_kind(),
            "cmd", cmd,
            "rssi", g_rssi_for_log
            );

sign problem on rssi field

{"success":false,"message":"Fail to parse a message : cannot parse json body:Failed to decode: Unexpected character ('4' (code 52)) in numeric value: expected digit (0-9) to follow minus sign, for valid numeric value\n at [Source: {\"mid\": 79698547, \"did\": \"3f3f0aa0-b881-1dcf-b546\", \"kind\": \"RAC_056905_WW\", \"cmd\": \"req_timesync\", \"rssi\": +46, \"data\": null, \"type\": 1}; line: 1, column: 124]"}    

leading zero problem on mid field

 {\"mid\":0100100010,\"did\":\"20eb20d2-448e-124\",\"kind\":\"1WPU4C0FFR__2\",\"cmd\":\"device_packet\",\"rssi\":-11,\"data\":\"AA0A12E2E1010258B1BB\",\"type\":1}

from jansson.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.