CFreeRTOSFreeRTOSWindows CmbedPosix CNetwork Lifecycle for FreeRTOS

It is users responsibility to prepare client's configuration instance and pass it during PubNub client instantiation. The initialized client doesn't perform any activities until activated by user commands.

If you don't have a connection to Pubnub for a while, once you do get it, your subscribe will get all the messages published in the meantime, provided that:

  1. You had one successful subscribe on that context.
  2. There were no more than a 100 messages on the channel(s) in the meantime (in which case you will get 100).

If you don't have a successful subscribe, you can use the history transaction to get messages published on the channel(s) to fetch the earlier messages. For more details on history please see pubnub_history().