@@ -66,8 +66,6 @@ def printint(myint):
6666
6767
6868
69-
70-
7169class InstrumentedNDEF (InstrumentedBase ):
7270 def __init__ (self ,
7371 baseurl = 'plotsensor.com' ,
@@ -156,7 +154,9 @@ def __init__(self,
156154 batteryadc = 100 ,
157155 resetcause = 0 ,
158156 usehmac = True ,
159- httpsdisable = False ):
157+ httpsdisable = False ,
158+ tagerror = False
159+ ):
160160 super (InstrumentedSampleT , self ).__init__ (baseurl ,
161161 serial ,
162162 secretkey ,
@@ -166,7 +166,7 @@ def __init__(self,
166166 resetsalltime = resetsalltime ,
167167 usehmac = usehmac ,
168168 httpsdisable = httpsdisable )
169- self .ffimodule .lib .enc_init (resetcause , False , 0 )
169+ self .ffimodule .lib .enc_init (resetcause , tagerror , 0 )
170170
171171 def pushsamples (self , num ):
172172 inlist = list ()
@@ -188,7 +188,8 @@ def __init__(self,
188188 batteryadc = 100 ,
189189 resetcause = 0 ,
190190 usehmac = True ,
191- httpsdisable = False
191+ httpsdisable = False ,
192+ tagerror = False
192193 ):
193194 super (InstrumentedSampleTRH , self ).__init__ (baseurl ,
194195 serial ,
@@ -199,7 +200,7 @@ def __init__(self,
199200 resetsalltime = resetsalltime ,
200201 usehmac = usehmac ,
201202 httpsdisable = httpsdisable )
202- self .ffimodule .lib .enc_init (resetcause , False , 0 )
203+ self .ffimodule .lib .enc_init (resetcause , tagerror , 0 )
203204
204205 def pushsamples (self , num ):
205206 inlist = list ()
0 commit comments