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

Br 20211004 1031 #15

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Commits on Oct 4, 2021

  1. Configuration menu
    Copy the full SHA
    fe9c6fb View commit details
    Browse the repository at this point in the history
  2. - add IotconnectMsgSendStatus type define.

    - add IotConnectMsgSendStatusCallback() function type define.
    - add msg_send_status_cb function pointer to IotconnectClientConfig type define.
    - declare iotconnect_sdk_send_packet() to accept assigned msg id for the message send.
    alanlhc committed Oct 4, 2021
    Configuration menu
    Copy the full SHA
    a12d12f View commit details
    Browse the repository at this point in the history
  3. - add msg_send_status_cb function pointer to IotconnectMqttConfig typ…

    …e define.
    
    - modify iotc_nrf_mqtt_publish() to accept assigned msg id for the message send.
    alanlhc committed Oct 4, 2021
    Configuration menu
    Copy the full SHA
    c2f906f View commit details
    Browse the repository at this point in the history
  4. - remove blocking codes in the iotc_nrf_mqtt_publish() to resolve dea…

    …dlock issue.
    
    - add message queue to store and re-send messages using QOS 1.
    - perform checking of timeout and re-send messages in the mqtt_loop().
    - modify iotc_nrf_mqtt_publish() to return assigned msg id for the message send.
    - add msg_send_status_cb function pointer to allow user callback when msg sent successfully or timeout.
    alanlhc committed Oct 4, 2021
    Configuration menu
    Copy the full SHA
    c65d530 View commit details
    Browse the repository at this point in the history
  5. - add message send status callback to receive message send status.

    - add code to wait for PUBACK for the last telemetry message sent before sending the next one.
    alanlhc committed Oct 4, 2021
    Configuration menu
    Copy the full SHA
    108cd48 View commit details
    Browse the repository at this point in the history
  6. - add message send status callback to receive message send status.

    - add code to wait for PUBACK for the last telemetry message sent before sending the next one.
    alanlhc committed Oct 4, 2021
    Configuration menu
    Copy the full SHA
    16c8e20 View commit details
    Browse the repository at this point in the history
  7. - modify iotconnect_sdk_send_packet() to set 2nd parameter as NULL to…

    … ignore the returned msg id for ACK msg.
    alanlhc committed Oct 4, 2021
    Configuration menu
    Copy the full SHA
    e3d6f69 View commit details
    Browse the repository at this point in the history
  8. - change tab to space.

    alanlhc committed Oct 4, 2021
    Configuration menu
    Copy the full SHA
    dbb544b View commit details
    Browse the repository at this point in the history