This patch adds scam's native protocol (aka ecm-client/ecm-server) to oscam (module-scam.c).
Main use case is connecting an oscam client to a scam server, as scam can only act as a scam ecm-server.
Connecting a scam-client to oscam is, of course, possible, too.
Note that a scam server will not reply if a cw cannot be found, so these requets will timeout.
There is currently no emm support. I do not know (yet) wheter the protocol supports them or not.
oscam client <-> scam server:
2:label = scamrdr
3:protocol = scam
4:device = 10.0.0.2,9999
5:user = user1
6:password = pass1
7:caid = 1843
8:group = 5
oscam server <-> scam client:
oscam config (with user user1/pass1):
2:port = 9999
Please report any problems here.
uploaded v3 - changes :
+ better auth implementation
+ fixed a warning (username variable)
+ now using a better way to to store er->idx
v4 - changes:
+ style fixes
v5 - changes:
+ fixed tabs in aes / crc code
+ now only adding a "void *scam" to s_client