@Hasa Generic modem tested with modems that generates NMBR:xxx
formatted data. I tried to open enough configuration to integrate other devices but without working physically with device it is a little hard to understand what the issue might be. Try these…
- Leave entity type name empty and don’t change singular name
Customer
toCustomers
for entity. - Don’t enter a baud rate to use default values. Generally port related settings are useful to override defaults.
-
.{32}([^\s]+)
pattern seems file as it means (skip 32 chars and read until space). However device might not send data line by line so you need to ensure sambapos can read entire line at once. Try typingnew line
keyword as termination string. - If does not work you may also try
\s(\w{3}-\w{3}-\w{4})\s
pattern to extract 3-3-4 formatted phone number. - Try to handle
device event generated
rule and display a message box to understand if SambaPOS can read number from device. If it works but not display popup it may mean a entity configuration issue.