Skip to content

searchTemplate ERROR #113

@kotobukidevelopers

Description

@kotobukidevelopers

I have stumble the error communication error
mentioned in #89 the problem is that the thread doesn't explain the whole problem and the exact solution

ok here is the instance

I have registered my fingerprint in R307 module then save the FINGERPRINT_BUFFER1 characteristic in the database
then I will sync the other R307 with the given fingerprint buffer using the uploadCharacteristics()

here is the snippet
Second R307
f.uploadCharacteristics(FINGERPRINT_CHARBUFFER1,json.loads(row[2]))
//check if the fp data is in the module
result = f.searchTemplate()
pos_no = result[0]
if pos_no == -1:
print("register to module")
else:
print("already in the module")

so means on second r307 I wanna check if the fingerprint is already registered in the module however when I perform a searchTemplate()
this throws an exception of communication error

the GOAL is to check the fingerprint if it exist before adding it in the second module

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions