Jump to content
Reliance Jio & Reliance Mobile Discussion Forums
Sign in to follow this  
Code

Brew Protocol To Communicate With Lg Phone

Recommended Posts

Here are some details about the BREW protocol:

The only two sources I can get hold of to get info is

Bitpim and BAL (Qualcomm's Brew uploader).

I made them to communicate with the phone and used a serial analyser to dissect out the sent data.

BAL and Bitpim use different protocols:

========================================

BAL uses high speed one (115200) and Bitpim uses 38400 so the commands in both vary.

All mode change commands require confirmation (that is same command to be sent succesively twice before the phone can respond to it.)

In Bitpim protocol: Runs at 38400 bitspersec. (use AT$QCDMG at 11500 to switch to BREW DM mode)

All BREW commands (binary) begin with Y and end with ~ (~ is the brew terminator 0x7e hex). So all the brew responses should end with ~ else assume that the data recieved is incomplete and retry. Another situation is a BREW exception which does not end with a ~

The following are the Brew exception Error codes I know of:

0x1c - No more directory entries

0x08 - No such directory

0x06 - No such file

0x1a - Bad pathname

0x0b - File is locked

0x0d - Name is too long

0x07 - Directory already exists

Share this post


Link to post
Share on other sites

A Small Piece Of unreleated info here,

that if u send 38 to 40 unknown "AT" commands to the phone, it'll automatically restart.

Share this post


Link to post
Share on other sites

Static should each unknown command be different from the previous one ? Also what command U tried?

I bombarded my 7130 with a unknown command AT$CC 10000 times and still nothing happened ??

Share this post


Link to post
Share on other sites
Static should each unknown command be different from the previous one ? Also what command U tried?

I bombarded my 7130 with a unknown command AT$CC 10000 times and still nothing happened ??

:wacko:

well, i really dunno,

but a long time ago, when i was finding out all the AT commands, i had written a s/w in VB to send random AT commands such as ->

AT$AAAA

AT$AAAB

AT$AAAC

AT$AAAD

AT$AAAE

etc,

i dunno what fault it was (program's or phones or Port's) but the phone always restarted after the 38 or 39 or 40th message was passed.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×