Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Announcements
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Announcements Announcements of new versions and new libraries.


New serial library - beta version


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-03-2007, 05:45 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 4,831
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default New serial library - beta version

The old Serial library has some problems when used in .Net CF 2.0 applications.
This is a beta release of a new library that is based on .Net CF 2.0 and therefore should work properly.
See this instructions for targeting .Net CF 2.0: www.basic4ppc.com/netcf2.html
These instructions are not required for WM6 devices.

The library functionality is the same as the old library.
It supports both the desktop and the device.
Currently, it doesn't support IR communication.
Please use it and post any question or feedback about it.
Attached Files
File Type: zip Serial2.zip (3.5 KB, 73 views)
Reply With Quote
  #2 (permalink)  
Old 07-04-2007, 04:14 AM
alfcen's Avatar
Basic4ppc Veteran
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu
Posts: 431
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Thank you very much for your restless support and improvements.
Quick'n sweet: Does Serial2.dll also run with Framework 1.0? You explained it is BASED on 2.0
Cheers
Robert
Reply With Quote
  #3 (permalink)  
Old 07-04-2007, 04:48 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 4,831
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

No, if you are working with .Net Framework 1.0 you should stay with the old library,
Reply With Quote
  #4 (permalink)  
Old 07-04-2007, 11:23 AM
alfcen's Avatar
Basic4ppc Veteran
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu
Posts: 431
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Confirmed.
I swapped the DLLs in two of my B4PPc apps. No problems encountered so far. Actually, I feel as if I get a faster fix on GPS with serial2.dll
Reply With Quote
  #5 (permalink)  
Old 07-04-2007, 01:59 PM
alfcen's Avatar
Basic4ppc Veteran
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu
Posts: 431
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Sorry to bother again, Erel
Would it be possible to assign other object name to the serial2.dll (such as serial2)?
That would enable switching between old and new using the hardware library's NetVersion command.
Reply With Quote
  #6 (permalink)  
Old 07-04-2007, 02:12 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 4,831
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

It won't help as devices installed with .Net CF 1.0 will show an error when during loading.
You should create two setup files, one for WM6 devices and another for all other devices.
Reply With Quote
  #7 (permalink)  
Old 07-04-2007, 08:32 PM
JJM JJM is offline
Senior Member
 
Join Date: Apr 2007
Location: France
Posts: 107
Default

Hi Erel,

I got error with this new serial2.dll.
For example if, in the program Autodet2, i replace Serialdevice.dll by serial2.dll and launch the program it explores the port 1 but at the begining of exploration of the port 2 i get an error:
An error occured at line number 35:
Serial.portopen=true
If i give back serialdevice.dll there is no more error.

Best regards

JJ M

HP ipaq 2490
Reply With Quote
  #8 (permalink)  
Old 07-09-2007, 09:46 PM
Junior Member
 
Join Date: May 2007
Posts: 28
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Erel,

Thank you for your hard work on the new serial library. Regretably, I am having problems using it with the exising GPS libs. Aside from the serial.portOpen error already reported, I am receiving numerous target invocation messages whenever I try to interface the serial library, E.G. inputString, with GPS. If you need more info, I will post the source of my program as it currently stands.

- All my best,
- Steve
Reply With Quote
  #9 (permalink)  
Old 07-10-2007, 03:56 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 4,831
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

What device are you using?
Does the SerialTerminal example work properly?
Reply With Quote
  #10 (permalink)  
Old 07-11-2007, 08:14 PM
Junior Member
 
Join Date: May 2007
Posts: 28
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Erel,

I am using a PPC6700 running AKU3.5 and the .net CF 2.0. I don't have a link to the specific ROM image I'm running, but I could get it if you think it would be useful. When I try to conect to my GPS device with the serial terminal example, I receive an error which says something like, "Error on line 41. Basic4PPC cannot display an error message because an optional resource assembly cannot be found. Continue? Yes/No." Line 41 reads
serial.PortOpen = true
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Door library (Beta) - Special library Erel Official Updates 52 12-08-2008 05:03 PM
Version 6.50 BETA is released Erel Announcements 8 09-01-2008 08:08 AM
Beta versions Erel Beta Versions 0 08-26-2008 09:32 PM
Version 6.01 Problem with SIP Features of Hardware Library Woinowski Bug Reports 4 01-08-2008 12:59 PM
Basic4ppc V6.00 - Beta is released Erel Announcements 0 12-16-2007 05:55 PM


All times are GMT. The time now is 11:40 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0