Iot sdk thesis



Download 2,28 Mb.
Pdf ko'rish
bet37/52
Sana26.04.2022
Hajmi2,28 Mb.
#584210
1   ...   33   34   35   36   37   38   39   40   ...   52
Bog'liq
EIT Thesis IoT SDK by Hrudaynath

Source Files Testing 
The source files have been tested with Platform IO
6
extension on VSCode IDE
7
as the 
IDE. So, the tests expect the file structure and library include path considerations to be valid 
for VSCode Platform IO IDE.
Test #4 
Test Name 
Generation of 
object_objectname.cpp
files in correct folder 
Test Description
On successful conversion, the .cpp files for each selected XML file 
must be produced in 
lib\wakaama-arduino-client\src 
folder 
Input
temperature.xml
IPSO Object file 
Expected Outcome
1. object_temperature.cpp 
is produced in
lib\wakaama-arduino-
client\sr
c folder
2. If there is an attempt to generate code for the same XML file more 
than once, the copy of
object_temperature.cpp 
is not generated 
Actual Outcome
As expected
Pass/Fail
Pass 
Comments 
NA 
Table 3.2.1.4 Generation of .cpp files in correct folder test 
Test #5 
Test Name 
Syntactically correct generation of 
object_objectname.cpp
source file 
Test Description
Each 
object_objectname.cpp 
should contain macro definitions of the 
resources, object data structure, function definitions for read, write, 
execute, get_object, discover, create, free_object functions for the 
object 
Input
temperature.xml
IPSO Object file 
Expected Outcome
The generated object_temperature.cpp file has:
1.
Macro definitions such as:
#define TEMPERATURE_ID 3303 
#define RES_O_SENSORVALUE 5700 
2. Data structure to hold the data specific to the temperature object:
temperature_data_t;
6
PlatformIO is an open source cross-platform ecosystem for IoT development, available as extension for 
multiple code editors such as VSCode, Sublime Text etc.
7
https://code.visualstudio.com/ 


48 
3. Definitions of the functions specific to temperature object:
prv_read();prv_write();prv_execute(); 
prv_discover(); 
prv_create(); 
prv_delete(); 
get_object_temperature(); 
free_object_temperature(); 
tick_object_temperature();

Download 2,28 Mb.

Do'stlaringiz bilan baham:
1   ...   33   34   35   36   37   38   39   40   ...   52




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish