Skip to content

Commit

Permalink
Add documentation for API usage examples (#42)
Browse files Browse the repository at this point in the history
Add usage examples in API documentation of functions in mqtt_agent.h
  • Loading branch information
aggarw13 authored Apr 23, 2021
1 parent 007aff2 commit aec5563
Show file tree
Hide file tree
Showing 3 changed files with 511 additions and 2 deletions.
74 changes: 73 additions & 1 deletion lexicon.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@ acks
addacknowledgment
agentcommandget
agentcommandrelease
agentcontext
agentinterface
agentmessagecontext
agentmessageinterface
agentmessagerecv
agentmessagesend
agentreceivemessage
agentsendmessage
api
apis
appcallback
Expand All @@ -22,18 +25,31 @@ bytesorerror
bytestorecv
bytestosend
cbmc
cleansession
cleansession
clearonlysubunsubentries
clientidentifierlength
clientidentifierlength
cmdcompletecallback
cmdcompletecb
com
commandcallback
commandcompletecallback
commandcontext
commandinfo
commandloop
commandtype
cond
config
configpagestyle
connack
connectargs
connectcallback
connectcmdcallback
connectinfo
connectionargs
connectstatus
connectstatus
const
copydoc
coremqtt
Expand All @@ -43,27 +59,35 @@ css
defgroup
deserialized
didn
disconnectcallback
disconnectcmdcallback
doesn
doxygen
dup
endcode
endcond
endif
endloop
enqueueing
enum
enums
fixedbuffer
foo
freertos
func
functotest
gcc
getcommand
getcurrenttimems
gettimestampms
github
html
https
ifndef
inc
incomingcallback
incomingpacketcontext
incomingpacketcontext
incomingpacketid
incomingpublishcallback
ingroup
Expand All @@ -72,17 +96,22 @@ initalized
int
iot
iso
keepaliveseconds
keepaliveseconds
logdebug
logerror
loginfo
logwarn
lwt
mainpage
memset
messagecontext
messageinterface
metadata
microcontroller
min
mit
misra
mit
mqtt
mqttagent
mqttagentcommand
Expand All @@ -98,6 +127,7 @@ mqttfixedbuffer
mqttgetcurrenttimefunc
mqttkeepalivetimeout
mqttnomemory
mqttnotconnected
mqttpublishinfo
mqttrecvfailed
mqttsendfailed
Expand All @@ -107,8 +137,11 @@ mqttsubscribeinfo
mqttsuccess
multithreaded
multithreading
networkbuffer
networkinterfacereceivestub
networkinterfacesendstub
networkrecv
networksend
noninfringement
num
numsubscriptions
Expand All @@ -121,7 +154,13 @@ pagentcontext
param
params
pargs
passwordlength
passwordlength
payloadlength
payloadlength
pbuffer
pclientidentifier
pclientidentifier
pcmdcallbackcontext
pcmdcompletecallbackcontext
pcmdcontext
Expand All @@ -143,6 +182,7 @@ pfuncname
pincomingcallback
pincomingcallbackcontext
pincomingpacketcontext
pingrequestcompletecb
pingresp
pmqttagentcontext
pmqttcontext
Expand All @@ -155,6 +195,10 @@ poriginalcommand
posix
ppacketinfo
pparams
ppassword
ppassword
ppayload
ppayload
ppendingacks
ppublisharg
ppublishinfo
Expand All @@ -167,12 +211,19 @@ psubackcodes
psubscribeargs
psubscribeinfo
psubscriptionargs
ptopicfilter
ptopicfilter
ptopicname
ptopicname
ptransportinterface
puback
pubcomp
publishcmdcompletecb
publishinfo
pubrec
pubrel
punusedarg
pusername
pvoidconnectargs
pvoidsubscribeargs
pwillinfo
Expand All @@ -187,17 +238,38 @@ returnflags
runprocessloop
sdk
sessionpresent
sizeof
someclientid
somepassword
sometransportcontext
someusername
statusreturn
strlen
struct
structs
stubgettime
stubpublishcallback
stubreceive
stubreceivethenfail
suback
sublicense
subscribeargs
subscribecmdcompletecb
subscribeinfo
terminatecallback
timeoutms
todo
topicfilterlength
topicnamelength
transportinterface
uint
unsuback
unsubscribeargs
unsubscribecmdcompletecb
unsubscribecompletecb
unsubscribeinfo
usernamelength
utest
uxcontrolandlengthbytes
willinfo
www
11 changes: 11 additions & 0 deletions manifest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name : "coreMQTT Agent"
version: "v1.0.0"
description: |
"Agent for thread-safe use of coreMQTT.\n"
dependencies:
- name : "coreMQTT"
version: "v1.1.0"
repository:
type: "git"
url: "https://github.com/FreeRTOS/coreMQTT/"
license: "MIT"
Loading

0 comments on commit aec5563

Please sign in to comment.