- Timestamp:
- 06/30/17 10:53:44 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-dvbapi.c
r11386 r11389 522 522 { 523 523 int16_t proto_version = htons(DVBAPI_PROTOCOL_VERSION); //our protocol version 524 char capabilities[128] = "\x00"; // two zero characters 524 525 memcpy(&packet[size], &proto_version, 2); 525 526 size += 2; … … 528 529 size += 1; 529 530 530 *info_len = snprintf((char *) &packet[size], sizeof(packet) - size, "OSCam v%s, build r%s (%s)", CS_VERSION, CS_SVN_VERSION, CS_TARGET); 531 if (cfg.dvbapi_extended_cw_api == 1) 532 strcat(capabilities, ",e1km"); //extended cw, mode follows key 533 if (cfg.dvbapi_extended_cw_api == 2) 534 strcat(capabilities, ",e2"); 535 536 *info_len = snprintf((char *) &packet[size], sizeof(packet) - size, "OSCam v%s, build r%s (%s); %s", CS_VERSION, CS_SVN_VERSION, CS_TARGET, capabilities + 1); 531 537 size += *info_len; 532 538 break;
Note:
See TracChangeset
for help on using the changeset viewer.