79246877

Date: 2024-12-03 09:00:23
Score: 8.5 🚩
Natty:
Report link

@Zenilogix i am working for mobile phone which supports SyncML for contact synchronisation using OBEX serial(USB) with outlook. But i want to get contacts from it without syncking it to outlook or else i need to get that contacts before it syncs to outlook. How can i do it please help. that phone has its own tool to sync contacts with outlook, so i captured packets of it using wireshak then i got

02 00 2d cb 00
   00 00 00 42 00 20 61 70 70 6c 69 63 61 74 69 6f
   6e 2f 76 6e 64 2e 73 79 6e 63 6d 6c 2b 77 62 78
   6d 6c 00 c3 00 00 00 cd 

pls see pcapimg1. when i am trying to send same packet using my code i am not getting 90 00 03 this expected response from phone.pls see pcapimg2 i am attaching pacap file for packets captured for tool given by phone itself. i got success in getting serial connection to device using

LPCWSTR szPort2 = L"\\\\?\\usb#vid_1f58&pid_1f20&mi_03#dummy_03#{86e0d1e0-8089-11d0-9ce4-08003e301f73}";
HANDLE hSerial = CreateFile(szPort2, GENERIC_READ | GENERIC_WRITE, 0, 0, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0);

//FILE_ATTRIBUTE_NORMAL,FILE_FLAG_OVERLAPPED also i sucessfully sent AT command for obex // Sending the AT+ISAT_OBEX=1 command

const char* command = "AT+ISAT_OBEX=1";
DWORD bytesWritten;
if (!WriteFile(hSerial, command, strlen(command), &bytesWritten, NULL)) {
    std::cerr << "Error writing to serial port\n";
    return;}

after this i sent packets by reffering this pdf OBEX Connect Example page 23 ( ) OBEX Connect Example

i also got success in OBEX Connect. but i dont know how to move further pcapimg1 for obex put with wbxml , pcapimg2 this is expected response from device, wich i am not getting this is first packet i sent

0x80, 0x00, 0x15, 0x10, 0x00, 0x04, 0x00, 0x46, 0x00, 0x0e, 0x53, 
0x59, 0x4e, 0x43, 0x4d, 0x4c, 0x2d, 0x53, 0x59, 0x4e, 0x43,0x00,0x00,0x00

i got sucess reponse for this as

a0 00 1a 10 00 10 00 cb 00 00 00 00 4a 00 0e 53 59 4e 43 4d 4c 2d 53 59 4e 43

but this sencond packet i am sending

0x02,0x00,0x2d,0xcb,0x00,0x00,0x00,0x00,0x42,0x00,0x20,0x61,
0x70,0x70,0x6c,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e,0x2f,
0x76,0x6e,0x64,0x2e,0x73,0x79,0x6e,0x63,0x6d,0x6c,0x2b,
0x77,0x62,0x78,0x6d,0x6c,0x00,0xc3,0x00,0x00,0x00,0xcd

, am not getting any respose from device

Reasons:
  • Blacklisted phrase (0.5): How can i
  • Blacklisted phrase (1): can i do
  • Blacklisted phrase (0.5): i need
  • Blacklisted phrase (1): i am trying to
  • RegEx Blacklisted phrase (3): please help
  • RegEx Blacklisted phrase (1): i want
  • RegEx Blacklisted phrase (1): i do it please
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Zenilogix
  • Low reputation (1):
Posted by: Mahesh Gadhari