1. 15 Nov, 2016 1 commit
    • Dmitry Frank's avatar
      Fix simplelink SSL context · 8874f3de
      Dmitry Frank authored
      It wasn't checked for `NULL`, and on CC3200 NULL dereferencing addresses
      doesn't cause a crash, so it worked by pure luck: ctx->ssl_key was 0.
      After `mg_` to `miot_` refactoring it's not the case anymore (presumably
      because linker arranged objects in a different order), so this bug shown
      up.
      
      PUBLISHED_FROM=0f1cc73a078c18432c68ae0f9b14dd06b3bb4279
      8874f3de
  2. 14 Nov, 2016 7 commits
  3. 11 Nov, 2016 4 commits
  4. 10 Nov, 2016 5 commits
  5. 09 Nov, 2016 6 commits
  6. 08 Nov, 2016 1 commit
  7. 07 Nov, 2016 2 commits
  8. 06 Nov, 2016 1 commit
  9. 04 Nov, 2016 5 commits
    • Dmitry Frank's avatar
      Add readme for nRF51 example · 84132b7b
      Dmitry Frank authored
      And pre-create directories for SDK for both nRF51 and nRF52.
      
      PUBLISHED_FROM=00caf156f48da92804c6af8efe323535fbc5497d
      84132b7b
    • Dmitry Frank's avatar
      Enable warnings on nRF5x examples · e69a7a1b
      Dmitry Frank authored
      Now all warnings are disabled on SDK files, and enabled on our
      application's files.
      
      Fixed a couple of things in nRF52 which were unnoticed because all
      warnings were disabled there from the beginning.
      
      PUBLISHED_FROM=a33ab22d0ce85efea364b80478986b88f4b0a3a2
      e69a7a1b
    • Dmitry Frank's avatar
      Fix nRF51 compiler flag for GCC · 7f2bdc21
      Dmitry Frank authored
      PUBLISHED_FROM=f8b4e8650d72c2ec5525e0510fbc8a80f8645a14
      7f2bdc21
    • Dmitry Frank's avatar
      Adjust udp_recv callback type for nRF5x · 76bb35d5
      Dmitry Frank authored
      PUBLISHED_FROM=66db56192ae710e3f865fef47593b49e0ed4f133
      76bb35d5
    • Dmitry Frank's avatar
      Make nRF51 example work with GCC · 0187f297
      Dmitry Frank authored
      Unfortunately it turns out Nordic's examples were able to build with GCC
      just because they suppressed all warnings; I had to do the same here
      because there are some macro redefinitions of arm-none-eabi-gcc and
      lwip.
      
      TODO: resolve that and do not suppress warnings.
      
      PUBLISHED_FROM=e65c7b0f2451f85765d958d7f67eb9262f7bc929
      0187f297
  10. 03 Nov, 2016 2 commits
  11. 02 Nov, 2016 3 commits
  12. 01 Nov, 2016 3 commits
    • Dmitry Frank's avatar
      Add names to mg_event_handler_t's args · 0798b724
      Dmitry Frank authored
      PUBLISHED_FROM=3caea25dec11260561349fa096547bd62ecdb509
      0798b724
    • Deomid Ryabkov's avatar
      Add text msgs for HTTP status codes 400 and 503 · 39a17f8a
      Deomid Ryabkov authored
      PUBLISHED_FROM=1bd3308933354e147c4e8aa375728a1ede6d8ab4
      39a17f8a
    • Deomid Ryabkov's avatar
      BREAKING: Set MG_F_SEND_AND_CLOSE on UDP conns · 78454da3
      Deomid Ryabkov authored
      Long-lived UDP "connections" i.e. interactions that involve more
      than one request and response are rare, most are transactional:
      response is sent and the "connection" is closed. Or - should be.
      But users (including ourselves) tend to forget about that part,
      because UDP is connectionless and one does not think about
      processing a UDP request as handling a connection that needs to be
      closed. Thus, we begin with SEND_AND_CLOSE flag set, which should
      be a reasonable default for most use cases, but it is possible to
      turn it off the connection should be kept alive after processing.
      
      PUBLISHED_FROM=1677d8024aa9afa7e18d8a04d829b699f7f2f103
      78454da3