Page 1 of 1

Release notes for Phidgets22

Posted: Mon Jul 24, 2017 5:54 pm
by gusdsnail
Hi,

Are there detailed release notes somewhere? I looked around but to no avail. I noticed while upgrading some code `DeviceType` is deprecated? Is there a list somewhere I missed.

Cheers

Re: Release notes for Phidgets22

Posted: Mon Jul 24, 2017 6:32 pm
by gusdsnail
I must have missed something. How do you get a list of attached devices, it was possible with phidgets21 with CPhidgetManager_getAttacheDevices().

I'm using the TemperatureSensors and from what I can tell getAmbientTemperature is now also gone. Or is it a channel now on the sensor?

Also https://www.phidgets.com/docs21/Language_-_C this url is broken. It's a small problem but its in your primary navigation. I've clicked on it so many times now :(

Re: Release notes for Phidgets22

Posted: Tue Jul 25, 2017 10:01 am
by Patrick
If you're using phidget22, the best place to get info is the product page. The API tab list all your device channels, as well as device specific API.

phidget22 doesn't have a getAttachedDevices call. Currently you would need to listen to Manager attach events to get information about attached devices. We may add an attachedDevices API in the future.

If you're looking to migrate code from phidget21 to phidget22 look here: https://www.phidgets.com/docs/Upgrading ... _Phidget22

An overview of phidget22 is here: https://www.phidgets.com/docs/Phidget22

If you're looking for the phidget22 changelog look here: https://www.phidgets.com/?view=changelog

Please note also that phidget22 and phidget21 are completely separate libraries, and we are maintaining support for both in parallel for the foreseeable future. phidget22 brings a whole new view of Phidgets, moving to a channel model.

-Patrick

Re: Release notes for Phidgets22

Posted: Tue Jul 25, 2017 5:26 pm
by gusdsnail
Ok that makes sense. I thought that support for Phidgets21 was going to end.

I still think you need to be clear on what is supported and the recommended way to transition. Otherwise good job with the codebase. It looks way cleaner and more consistent. And the API page is a big improvement :D

Re: Release notes for Phidgets22

Posted: Fri Jul 28, 2017 2:53 pm
by Patrick
Good to know. We will be improving things based on user input now that we've released everything.

We won't be adding support to phidget21 for new devices - such as the VINT product line, but we'll continue supporting it and fixing any bugs.

-Patrick