summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Sun <smn@amazon.com>2021-10-05 10:46:14 +0800
committerAndy Sun <smn@amazon.com>2021-11-09 17:13:54 +0800
commit0bb0109979a03e7506a6ef26abc182e4f83759b5 (patch)
treec88fced2a9831cb7f912c4af7dcbf5c27356724b
parentcf2a91b84a895aa5eab5f58440814555fc4a14a5 (diff)
downloadfreertos-git-0bb0109979a03e7506a6ef26abc182e4f83759b5.tar.gz
[Cellular] Fix missing spell
-rw-r--r--FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/Common/cellular_platform.c2
-rw-r--r--FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/Common/cellular_platform.h6
-rw-r--r--FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/Common/cellular_setup.c1
-rw-r--r--FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/Common/comm_if_windows.c8
-rw-r--r--FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/Common/mbedtls/mbedtls_error.c2
-rw-r--r--FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/Common/mbedtls/sockets_wrapper.c12
-rw-r--r--FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/cellular_bg96_mqtt_demo/cellular_config.h2
-rw-r--r--FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/cellular_hl7802_mqtt_demo/cellular_config.h2
-rw-r--r--FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/cellular_sara_r4_mqtt_demo/cellular_config.h4
-rw-r--r--lexicon.txt68
10 files changed, 87 insertions, 20 deletions
diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/Common/cellular_platform.c b/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/Common/cellular_platform.c
index c7f869d68..2f46cbe5d 100644
--- a/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/Common/cellular_platform.c
+++ b/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/Common/cellular_platform.c
@@ -53,7 +53,7 @@ static void prvThreadRoutineWrapper( void * pArgument );
* @param[in] pMutex Mutex to lock.
* @param[in] timeout Timeout value to lock mutex.
*
- * @return ture if mutex is locked successfully. Otherwise false.
+ * @return true if mutex is locked successfully. Otherwise false.
*/
static bool prIotMutexTimedLock( PlatformMutex_t * pMutex,
TickType_t timeout );
diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/Common/cellular_platform.h b/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/Common/cellular_platform.h
index 68ceb9379..2dad07251 100644
--- a/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/Common/cellular_platform.h
+++ b/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/Common/cellular_platform.h
@@ -97,7 +97,7 @@ bool Platform_CreateDetachedThread( void ( * threadRoutine )( void * ),
*
* Cellular library use platform mutex to protect resource.
*
- * The IotMutex_ functions can be refernced as function prototype for
+ * The IotMutex_ functions can be referenced as function prototype for
* PlatfromMutex_ prefix function in the following link.
* https://docs.aws.amazon.com/freertos/latest/lib-ref/c-sdk/platform/platform_threads_functions.html
*
@@ -137,7 +137,7 @@ void PlatformMutex_Unlock( PlatformMutex_t * pMutex );
*
* Cellular library use platform event group for process synchronization.
*
- * The EventGroup functions in the following link can be refernced as function prototype.
+ * The EventGroup functions in the following link can be referenced as function prototype.
* https://www.freertos.org/event-groups-API.html
*
*/
@@ -160,7 +160,7 @@ void PlatformMutex_Unlock( PlatformMutex_t * pMutex );
*
* Cellular library use platform delay function for waiting events.
*
- * The delay functions in the following link can be refernced as function prototype.
+ * The delay functions in the following link can be referenced as function prototype.
* https://www.freertos.org/a00127.html
*
*/
diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/Common/cellular_setup.c b/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/Common/cellular_setup.c
index fb4d73426..0f2e4b562 100644
--- a/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/Common/cellular_setup.c
+++ b/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/Common/cellular_setup.c
@@ -158,6 +158,7 @@ bool setupCellular( void )
if( timeoutCount >= timeoutCountLimit )
{
+ cellularStatus = CELLULAR_INVALID_HANDLE;
configPRINTF( ( ">>> Cellular module can't be registered <<<\r\n" ) );
}
diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/Common/comm_if_windows.c b/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/Common/comm_if_windows.c
index 678f61bac..5b1b4cf2e 100644
--- a/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/Common/comm_if_windows.c
+++ b/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/Common/comm_if_windows.c
@@ -211,7 +211,7 @@ static _cellularCommContext_t _iotCellularCommContext =
.pCommTaskEvent = NULL
};
-/* Inidicate RX event is received in comm driver. */
+/* Indicate RX event is received in comm driver. */
static bool rxEvent = false;
/*-----------------------------------------------------------*/
@@ -308,8 +308,8 @@ static CellularCommInterfaceError_t _setupCommTimeout( HANDLE hComm )
BOOL Status = TRUE;
/* Set ReadIntervalTimeout to MAXDWORD and zero values for both
- * ReadTotalTimeoutConstant and ReadTotalTimeoutMultiplier to retrun
- * immediatly with the bytes that already been received. */
+ * ReadTotalTimeoutConstant and ReadTotalTimeoutMultiplier to return
+ * immediately with the bytes that already been received. */
xCommTimeouts.ReadIntervalTimeout = MAXDWORD;
xCommTimeouts.ReadTotalTimeoutConstant = 0;
xCommTimeouts.ReadTotalTimeoutMultiplier = 0;
@@ -390,7 +390,7 @@ static void commTaskThread( void * pUserData )
}
else
{
- /* Polling the global share variabe to trigger the interrupt. */
+ /* Polling the global share variable to trigger the interrupt. */
if( rxEvent == true )
{
rxEvent = false;
diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/Common/mbedtls/mbedtls_error.c b/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/Common/mbedtls/mbedtls_error.c
index fe3415d07..f5edcc903 100644
--- a/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/Common/mbedtls/mbedtls_error.c
+++ b/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/Common/mbedtls/mbedtls_error.c
@@ -1,5 +1,5 @@
/*
- * FreeRTOS Error Code Stringification utilies for mbed TLS v2.16.0
+ * FreeRTOS Error Code Stringification utilities for mbed TLS v2.16.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/Common/mbedtls/sockets_wrapper.c b/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/Common/mbedtls/sockets_wrapper.c
index 64f86a6ff..c335e75c5 100644
--- a/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/Common/mbedtls/sockets_wrapper.c
+++ b/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/Common/mbedtls/sockets_wrapper.c
@@ -52,12 +52,12 @@
/*-----------------------------------------------------------*/
-/* Celllular socket wrapper needs application provide the cellular handle and pdn context id. */
-/* User of celllular socket wrapper should provide this variable. */
+/* Cellular socket wrapper needs application provide the cellular handle and pdn context id. */
+/* User of cellular socket wrapper should provide this variable. */
/* coverity[misra_c_2012_rule_8_6_violation] */
extern CellularHandle_t CellularHandle;
-/* User of celllular socket wrapper should provide this variable. */
+/* User of cellular socket wrapper should provide this variable. */
/* coverity[misra_c_2012_rule_8_6_violation] */
extern uint8_t CellularSocketPdnContextId;
@@ -225,7 +225,7 @@ static BaseType_t prvCellularSocketRegisterCallback( CellularSocketHandle_t cell
* @param[in] timeoutValueMs Timeout value for the comparison between entry time and current time.
* @param[out] pElapsedTimeMs The elapsed time if timeout condition is true.
*
- * @return Ture if the difference between entry time and current time is bigger or
+ * @return True if the difference between entry time and current time is bigger or
* equal to timeoutValueMs. Otherwise, return false.
*/
static bool _calculateElapsedTime( uint64_t entryTimeMs,
@@ -845,7 +845,7 @@ int32_t Sockets_Recv( Socket_t xSocket,
/* This function sends the data until timeout or data is completely sent to server.
* Send timeout unit is TickType_t. Any timeout value greater than UINT32_MAX_MS_TICKS
- * or portMAX_DELAY will be regarded as MAX deley. In this case, this function
+ * or portMAX_DELAY will be regarded as MAX delay. In this case, this function
* will not return until all bytes of data are sent successfully or until an error occurs. */
int32_t Sockets_Send( Socket_t xSocket,
const void * pvBuffer,
@@ -889,7 +889,7 @@ int32_t Sockets_Send( Socket_t xSocket,
sendTimeoutMs = TICKS_TO_MS( pCellularSocketContext->sendTimeout );
}
- /* Loop sending data until data is sent completly or timeout. */
+ /* Loop sending data until data is sent completely or timeout. */
while( bytesToSend > 0U )
{
socketStatus = Cellular_SocketSend( CellularHandle,
diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/cellular_bg96_mqtt_demo/cellular_config.h b/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/cellular_bg96_mqtt_demo/cellular_config.h
index 0b68cc39b..a94b9eff5 100644
--- a/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/cellular_bg96_mqtt_demo/cellular_config.h
+++ b/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/cellular_bg96_mqtt_demo/cellular_config.h
@@ -41,7 +41,7 @@
*/
/*
- * Default APN for network registartion.
+ * Default APN for network registration.
* #define CELLULAR_APN "...insert here..."
*/
#define CELLULAR_APN ""
diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/cellular_hl7802_mqtt_demo/cellular_config.h b/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/cellular_hl7802_mqtt_demo/cellular_config.h
index c03a1b237..3b51853a5 100644
--- a/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/cellular_hl7802_mqtt_demo/cellular_config.h
+++ b/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/cellular_hl7802_mqtt_demo/cellular_config.h
@@ -41,7 +41,7 @@
*/
/*
- * Default APN for network registartion.
+ * Default APN for network registration.
* #define CELLULAR_APN "...insert here..."
*/
diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/cellular_sara_r4_mqtt_demo/cellular_config.h b/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/cellular_sara_r4_mqtt_demo/cellular_config.h
index 998b35a4b..31f29a438 100644
--- a/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/cellular_sara_r4_mqtt_demo/cellular_config.h
+++ b/FreeRTOS-Plus/Demo/FreeRTOS_Cellular_Interface_Windows_Simulator/cellular_sara_r4_mqtt_demo/cellular_config.h
@@ -41,7 +41,7 @@
*/
/*
- * Default APN for network registartion.
+ * Default APN for network registration.
* #define CELLULAR_APN "...insert here..."
*/
@@ -102,7 +102,7 @@
* 100: standard Europe
* Notes :
* The standard Europe profile should be used as the basis for all other MNOs in
- * Europe outside of Vodafoneand Deutsche Telekom. However, there may be changes
+ * Europe outside of Vodafone and Deutsche Telekom. However, there may be changes
* that need to be applied to the module for properoperation with any given European
* MNO such as attach type, RAT preference, band selection, etc. Pleaseconsult with
* the preferred network provider.
diff --git a/lexicon.txt b/lexicon.txt
index ac14e48e7..583ae7d82 100644
--- a/lexicon.txt
+++ b/lexicon.txt
@@ -39,6 +39,8 @@ ap
apb
api
apis
+apn
+
app
applicationexit
appnote
@@ -127,6 +129,7 @@ blockq
blockqc
blocktimems
bloggedin
+blox
bmasterinterface
bmattributes
bmaxpacketsize
@@ -141,6 +144,7 @@ bootloader
bootstrapcdn
bp
br
+brasil
brdh
brdiv
brdl
@@ -195,6 +199,9 @@ cd
cdatastring
cdc
cec
+cellulardemo
+cellulardemotask
+cellularloglevel
centre
ceo
cer
@@ -229,6 +236,7 @@ ckf
ckm
ckr
cktim
+claro
clearpendingirq
cli
clientauthentication
@@ -283,6 +291,9 @@ commecho
comms
commsfirst
commslast
+commreceivecallbackthread
+commtaskthread
+commtaskthreadstarted
comp
comrx
coms
@@ -396,7 +407,9 @@ cqueuereievefromisr
cread
creadonlyarray
creadwritearray
+createfile
createfileforrx
+createthread
creceivedstring
cren
crend
@@ -495,6 +508,7 @@ describeendpoint
describejobexecution
deserialize
deserialized
+deutsche
dev
developerguide
devicepublickeyasciihex
@@ -525,6 +539,7 @@ dly
dma
dns
dnstestnum
+docomo
doctype
doen
doens
@@ -610,6 +625,7 @@ enterant
entercriticalsectionstub
entrancy
entropycontext
+entrytimems
enum
enums
envisionrx
@@ -652,11 +668,14 @@ etxck
etxhigherpriority
etxlowerpriority
etype
+europe
+european
eusci
eval
evb
eventcallback
-evk
+eventgroup
+eventqueue
evnt
evt
ewavr
@@ -731,6 +750,7 @@ fpga
fpidiv
fpu
fr
+france
framming
fre
fread
@@ -807,12 +827,14 @@ gpioe
gpios
greacefully
grec
+gsm
gree
hal
halboardinit
hallcd
hardfault
hclk
+hcomm
hcs
hed
hein
@@ -870,6 +892,7 @@ ic
icc
iccarm
icciar
+iccid
iccrx
iclk
icmp
@@ -892,6 +915,7 @@ iir
il
imanufacturer
imrh
+imsi
inb
inc
incase
@@ -1181,6 +1205,7 @@ mam
masterrate
matchtopic
maxcdn
+maxdword
maximise
maxitems
mbanumber
@@ -1226,6 +1251,7 @@ microsoft
microzed
mii
mikroc
+miliseconds
min
mingw
minilistitem
@@ -1238,6 +1264,8 @@ misra
mkd
mkdir
mmcr
+mno
+mnos
mosquitto
mov
movs
@@ -1332,6 +1360,7 @@ nt
ntp
ntpdemo
nts
+ntt
nullptr
num
numaker
@@ -1350,6 +1379,7 @@ oled
olen
olimex
onboard
+onboarding
oneshot
op
opendns
@@ -1405,6 +1435,7 @@ pactopic
palpnprotos
param
paramater
+pargument
partest
partstall
partstled
@@ -1426,6 +1457,7 @@ pc
pca
pcaction
pcaddress
+pcallbackcontext
pcap
pcapplicationhostnamehook
pcattrib
@@ -1446,6 +1478,8 @@ pcdatasentfrominterrupt
pcdefenderresponse
pcertfilepath
pcextracontents
+pcellularcommcontext
+pcellularsocketcontext
pcfakestring
pcfile
pcfilebuffer
@@ -1514,11 +1548,13 @@ pdfreertos
pdigest
pdlong
pdms
+pdn
pdpass
pdr
pdtrue
pe
peform
+pelapsedtimems
pem
pendsv
perfrom
@@ -1552,6 +1588,7 @@ plaformimagestate
plaintext
plaintexthttpexample
platformimagestate
+pleaseconsult
plib
plic
pll
@@ -1660,8 +1697,10 @@ proj
projcoverage
promiscious
prootca
+properoperation
prot
proto
+prototye
prs
prv
prvabortcommand
@@ -1914,6 +1953,7 @@ pulsystemperipheralregister
pultaskidarray
pultaskidarraylength
pultaskidsarray
+puserdata
pusername
pusopenportsarray
pusouttcpportsarray
@@ -2042,10 +2082,14 @@ rcvtimeo
rdparty
readbale
readdir
+readintervaltimeout
readme
readonly
+readtotaltimeoutconstant
+readtotaltimeoutmultiplier
reblocked
receiveloop
+receivetimeout
receivetimeoutms
recmucontrolling
recmutex
@@ -2056,6 +2100,7 @@ recognises
recorderdata
recv
recvfrom
+recvtimeout
referencetimestamp
reflash
reg
@@ -2159,6 +2204,7 @@ samd
sampleapp
sampleapptask
santity
+sara
sarecomtesttasksstillrunning
saveall
sbnumber
@@ -2188,6 +2234,7 @@ semtest
semtestc
sendb
sendpingrequest
+sendtimeout
sendtimeoutms
sendto
sep
@@ -2211,6 +2258,7 @@ setimagestate
setpollisr
setpriority
setsockopt
+setupcellular
sfena
sfprld
sfr
@@ -2244,6 +2292,7 @@ simultaniously
singletasks
sizeof
sk
+skt
slewrate
slibxr
smc
@@ -2263,8 +2312,11 @@ sntptask
soc
sockaddr
socketauto
+sockethandle
+socketserrors
socklen
sof
+softbank
softbaugh
somewebsite
sp
@@ -2387,6 +2439,10 @@ tcptesttcp
tcptesttx
td
teardown
+telecom
+telekom
+telstra
+Telus
tei
temo
temt
@@ -2405,6 +2461,7 @@ tha
thingname
thingnamelength
thr
+threadroutine
thre
throwtheswitch
ths
@@ -2414,6 +2471,7 @@ ticktype
tiemr
tim
timeguard
+timeoutvaluems
timertest
timertimer
timeserver
@@ -2661,6 +2719,8 @@ unusued
updatejobexecution
uploadhttpexample
upto
+urc
+urcevent
uri
url
urls
@@ -2705,6 +2765,7 @@ utalised
utc
utest
util
+utilies
utilise
utilised
utils
@@ -2802,6 +2863,7 @@ veify
veirfy
vemacread
verifyinit
+verizon
verrorchecks
veventgroupclearbitscallback
veventgroupdelete
@@ -2836,6 +2898,7 @@ vmaindeleteme
vmainpoststopprocessing
vmemchecktask
vmov
+vodafone
votademotask
vpartestinitialise
vpartesttoggleled
@@ -2909,6 +2972,7 @@ vtaskplaceoneventlistrestricted
vtaskpriorityset
vtaskresume
vtaskresumeall
+vtasksettimeoutstate
vtaskstartscheduler
vtaskstarttrace
vtasksuspend
@@ -2947,6 +3011,7 @@ wiznet
wmaxpacketsize
wolfssl
wpa
+writefile
ws
www
xa
@@ -3121,6 +3186,7 @@ xmethodlen
xmode
xmoredatatofollow
xmqttsocket
+xmutex
xmutexholder
xmutextodelete
xnetworkbuffer