Iot sdk thesis



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

Actual Outcome
As expected
Pass/Fail
Pass 
Comments 
NA 
Table 3.2.1.5 Functionally correct generation of object_objectname.cpp source file 
#Test 6 
Test Name 
Update OBJ_COUNT global variable 
Test Description
src\wakaama-client.h 
file holds a global variable named 
OBJ_COUNT (line 7). This variable needs to be increased by the 
number of IPSO Objects added by Code Generator, i.e. number of 
different IPSO XML files converted 
Input
temperature.xml
IPSO Object file 
Expected Outcome
The OBJ_COUNT variable should be increased by 1 after successful 
conversion 
Actual Outcome
OBJ_COUNT variable remains unchanged 
Pass/Fail
Fail 
Comments 
NA 
Table 3.2.1.6 Update OBJ_COUNT global variable 


49 
#Test 7 
Test Name 
Update 
extern "C" {..}
linkage specification
 
Test Description
src\wakaama-client.h
file holds a linkage specification in 
extern 
"C" {..}
(line 9), for prototypes of 
get, free 
and 
tick 
functions for 
each object. This should be updated with 
get, free 
and 
tick 
functions 
for newly added objects by the code generator. 
 
Input
temperature.xml
IPSO Object file 
Expected Outcome
1. Function prototypes the following function prototypes are added 
in 
extern "C" {..},
at the end of successful code generation: 
extern lwm2m_object_t * 
get_object_temperature(void); 
extern void free_object_temperature(lwm2m_object_t 
* object); extern void tick_object_temperature 
(lwm2m_object_t * object, lwm2m_context_t * 
lwm2mH);
2. If there is an attempt to generate code for the same XML file more 
than once, the prototypes are not added again in 
extern "C" {..}
Actual Outcome
1.
As expected
2.
The prototypes of same exact names are generated again, if there 
is an attempt to general code for the same XML file more than 
once 

Download 2,28 Mb.

Do'stlaringiz bilan baham:
1   ...   34   35   36   37   38   39   40   41   ...   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