Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

I would like to fix BitPim, http://bitpim.sourceforge.net/, so that it will work on a Motorola T730. BitPim lets you sync the phonebook and calendar with various Linux apps which no commercial developer seems to care about.

Is there documentation for the brew mode (AT$QCDMG) commands? I have downloaded the SDKs and looked through them but I can not find documentation for this mode.

BitPim works somewhat on the T730. I can get a directory of files on the phone. But something has changed in the brew protocol when doing the readfile command.

I do see it do this:
go into brew mode, AT$QCDMG
memoryconfig req/resp is ok
listfile req/resp is ok
listdirectories req/resp is ok

Readfile request, 17 bytes:
59 04 00 0d 6e 76 6d 2f 24 53 59 53 2e 45 53 4e 00

Response, 17 bytes:
59 04 0d 6e 76 6d 2f 24 53 59 53 2e 45 53 4e 00 31

then it thows an exception NameTooLong.

This is a forum for BREW developers. Given that bitpim is one of the hacker tools used to pirate our applications, I doubt that you'll find much help here.

This is a forum for BREW developers. Given that bitpim is one of the hacker tools used to pirate our applications, I doubt that you'll find much help here.

It's attitudes like yours that make me write Open Source software and give it away.
All I want to do is sync my phonebook and calendar with Yahoo. There are no commerically available apps to do this. I have tried to buy one; they don't exist.
I am attempting to build a solution the correct way by contacting the vendor for the infomation needed to write my own application.

It's attitudes like yours that make me write Open Source software and give it away.
All I want to do is sync my phonebook and calendar with Yahoo. There are no commerically available apps to do this. I have tried to buy one; they don't exist.
I am attempting to build a solution the correct way by contacting the vendor for the infomation needed to write my own application.

Quote:It's attitudes like yours that make me write Open Source software and give it away.
Perhaps you'll think differently when you have a family to support and need to make your time and skills pay.
Though I am sure your intentions are noble, the fact remains that BitPim is used every day to rip off BREW Developers. Therefore, don't you think it would be rather stupid for a BREW Developer to help you extend the tool to additional handsets?
If you want to write a BREW app. that will accomplish what you want, I'm sure that you'll find many here willing to help you. That would cost money though. Hardly a winning proposition when you want to give everything away.

Quote:It's attitudes like yours that make me write Open Source software and give it away.
Perhaps you'll think differently when you have a family to support and need to make your time and skills pay.
Though I am sure your intentions are noble, the fact remains that BitPim is used every day to rip off BREW Developers. Therefore, don't you think it would be rather stupid for a BREW Developer to help you extend the tool to additional handsets?
If you want to write a BREW app. that will accomplish what you want, I'm sure that you'll find many here willing to help you. That would cost money though. Hardly a winning proposition when you want to give everything away.

Another solution would be for me to sync with Yahoo wirelessly and use the BREW API to update the phonebook/calendar. I'll write the app for free, but can I get it into the phone without paying fees?
I have a family to support too. But I have been programming for many years. I know when an app is too small to bother basing a business on it. I've already done one company where support costs exceed revenues.

Another solution would be for me to sync with Yahoo wirelessly and use the BREW API to update the phonebook/calendar. I'll write the app for free, but can I get it into the phone without paying fees?
I have a family to support too. But I have been programming for many years. I know when an app is too small to bother basing a business on it. I've already done one company where support costs exceed revenues.

Quote:I'll write the app for free, but can I get it into the phone without paying fees?
Why write the app for free? In a capitalist setting, that makes no sense. To me, it sounds like you might have a commercially viable idea. After all, Yahoo has lots of users that own cell phones - perhaps they would partner with you. Put that in front of Verizon's 6-7 million Get It Now users and you might be surprised by the response you get for your "too small" application.
BREW costs money. There's no way around it. To just load your own app. onto a handset, you need to be able to create 90 day test signatures and the price of admission for that is $400 per year. If you can get gcc to work for you, you don't need to spend any money on an ARM compiler.
It'll cost you $3K-4K to get an app. to market, including the testing fees, which depend on the number of handsets you want to target for your launch.
BREW was not made for the hobbyist who just wants to write apps for their own use. BREW is a way for very small developers to make money -- the carriers handle all the end user contact, distribution, billing and collections.
If you're willing to take a little risk, you might find that your little app idea is capable of providing you with a decent income. Be aware that there is no way to access some of the phone's native applications from BREW. This means that you'll probably have to write your own client-side calendar etc.

Quote:I'll write the app for free, but can I get it into the phone without paying fees?
Why write the app for free? In a capitalist setting, that makes no sense. To me, it sounds like you might have a commercially viable idea. After all, Yahoo has lots of users that own cell phones - perhaps they would partner with you. Put that in front of Verizon's 6-7 million Get It Now users and you might be surprised by the response you get for your "too small" application.
BREW costs money. There's no way around it. To just load your own app. onto a handset, you need to be able to create 90 day test signatures and the price of admission for that is $400 per year. If you can get gcc to work for you, you don't need to spend any money on an ARM compiler.
It'll cost you $3K-4K to get an app. to market, including the testing fees, which depend on the number of handsets you want to target for your launch.
BREW was not made for the hobbyist who just wants to write apps for their own use. BREW is a way for very small developers to make money -- the carriers handle all the end user contact, distribution, billing and collections.
If you're willing to take a little risk, you might find that your little app idea is capable of providing you with a decent income. Be aware that there is no way to access some of the phone's native applications from BREW. This means that you'll probably have to write your own client-side calendar etc.

Now I see why Motorola is doing Linux phones with Java support. The more apps there are the more minutes get used. Free apps imply lots of minutes used. Too bad Verizon doesn't support the Linux versions yet.
Can BREW apps read the file system? The native phonebook/calendar data is stored in files. Those are the files that BitPim wants to access.
Can BREW apps open up sockets to web servers? It is probably be easier to programatically access Yahoo through HTML than their WAP interface. The phone needs SSL support to achieve the Yahoo login.
If BREW can only do WAP then I would probably have to set up a private gateway to diff the data and generate a minimal response.
Can the phone wake up at 3AM and do the sync while minutes are free?

Now I see why Motorola is doing Linux phones with Java support. The more apps there are the more minutes get used. Free apps imply lots of minutes used. Too bad Verizon doesn't support the Linux versions yet.
Can BREW apps read the file system? The native phonebook/calendar data is stored in files. Those are the files that BitPim wants to access.
Can BREW apps open up sockets to web servers? It is probably be easier to programatically access Yahoo through HTML than their WAP interface. The phone needs SSL support to achieve the Yahoo login.
If BREW can only do WAP then I would probably have to set up a private gateway to diff the data and generate a minimal response.
Can the phone wake up at 3AM and do the sync while minutes are free?

Quote:Originally posted by jonsmirl
Now I see why Motorola is doing Linux phones with Java support. The more apps there are the more minutes get used. Free apps imply lots of minutes used. Too bad Verizon doesn't support the Linux versions yet.
Can BREW apps read the file system? The native phonebook/calendar data is stored in files. Those are the files that BitPim wants to access.
>>On some phones, BREW apps can access the phone book programatically. The calendar is a different story. Its files will be in a part of the file system inaccessible to BREW.
Can BREW apps open up sockets to web servers?
>>Yes
It is probably be easier to programatically access Yahoo through HTML than their WAP interface. The phone needs SSL support to achieve the Yahoo login.
>>SSL and a subset of HTML 3.2 is supported in BREW.
If BREW can only do WAP then I would probably have to set up a private gateway to diff the data and generate a minimal response.
Can the phone wake up at 3AM and do the sync while minutes are free?
>>I don't know if the phone can power itself on based on a BREW notification. If the phone is turned on and your app has registered for the time notification this might be possible. I don't know for sure so check the doc's.

Quote:Originally posted by jonsmirl
Now I see why Motorola is doing Linux phones with Java support. The more apps there are the more minutes get used. Free apps imply lots of minutes used. Too bad Verizon doesn't support the Linux versions yet.
Can BREW apps read the file system? The native phonebook/calendar data is stored in files. Those are the files that BitPim wants to access.
>>On some phones, BREW apps can access the phone book programatically. The calendar is a different story. Its files will be in a part of the file system inaccessible to BREW.
Can BREW apps open up sockets to web servers?
>>Yes
It is probably be easier to programatically access Yahoo through HTML than their WAP interface. The phone needs SSL support to achieve the Yahoo login.
>>SSL and a subset of HTML 3.2 is supported in BREW.
If BREW can only do WAP then I would probably have to set up a private gateway to diff the data and generate a minimal response.
Can the phone wake up at 3AM and do the sync while minutes are free?
>>I don't know if the phone can power itself on based on a BREW notification. If the phone is turned on and your app has registered for the time notification this might be possible. I don't know for sure so check the doc's.

I agree with Murray, using BREW system, individual developer can sustain and pay their bills and support their family. Infact, you would find that there are lots of one or two people businesses sustaining themselves by selling their program via BREW distribution system.
To answer your question:
If your BREW application has file system access on, then it can access file. Unless the files are not the part of BREW.
BREW can certainly open secure socket and make request to web server.
Your app can certainly register with BREW to wake up your application and do whatever you want.
By the way, about the software like BitPim, all I can say is
It's too bad that, there are many smart people who writes and releases software which is used by ordinary people to rip off the little developer, who is trying to survive.

I agree with Murray, using BREW system, individual developer can sustain and pay their bills and support their family. Infact, you would find that there are lots of one or two people businesses sustaining themselves by selling their program via BREW distribution system.
To answer your question:
If your BREW application has file system access on, then it can access file. Unless the files are not the part of BREW.
BREW can certainly open secure socket and make request to web server.
Your app can certainly register with BREW to wake up your application and do whatever you want.
By the way, about the software like BitPim, all I can say is
It's too bad that, there are many smart people who writes and releases software which is used by ordinary people to rip off the little developer, who is trying to survive.

I can access the calendar and phonebook via AT commands, can a BREW app create a loopback of some type so that it sends AT commands back into the phone?
http://www.dewes.com.br/motorola/datebook-en.htm

I can access the calendar and phonebook via AT commands, can a BREW app create a loopback of some type so that it sends AT commands back into the phone?
http://www.dewes.com.br/motorola/datebook-en.htm

Quote:This is the set of motorola at commands to read and write data in datebook (calendar) of you motorola [BOLD]gsm[/BOLD] cell phone.
So far, only CDMA carriers support BREW. Maybe Ruben has a specific answer to your question.

Quote:This is the set of motorola at commands to read and write data in datebook (calendar) of you motorola [BOLD]gsm[/BOLD] cell phone.
So far, only CDMA carriers support BREW. Maybe Ruben has a specific answer to your question.

I have already checked. My CDMA phone has implemented the same AT commands.
Can I send AT command to the phone from BREW?

I have already checked. My CDMA phone has implemented the same AT commands.
Can I send AT command to the phone from BREW?