SDK version

Module API help / support section for programmers.

Moderators: Dreamer, FredB, X05

sgs
Just can't stay away
Posts: 27
Joined: Wed May 14, 2014 4:59 am

SDK version

Postby sgs » Fri May 30, 2014 7:51 am

The latest SDK version that I have found is V2.0, but in the modules section of DVBDream it says something like 'API version 2.3.0.0'. Is there a newer version of the SDK that I should be using?

sgs
Just can't stay away
Posts: 27
Joined: Wed May 14, 2014 4:59 am

Re: SDK version

Postby sgs » Fri May 30, 2014 2:50 pm

Also I can't read the CHL file.

I calculate the number of channels like so:

int num_channels = (filesize - sizeof( TCHL)) / sizeof( TChlChannel);

then read the TCHL struct and then read sizeof( TChlChannel) * num_channels into the TChlChannel array that I have allocated.

except I get garbage when trying to read the channel names, I think the file format does not match that described in the 2.0 SDK. (I am using DD 2.5)

filesize - sizeof( TCHL) is not an integer multiple of sizeof( TChlChannel) either: ((filesize - sizeof( TCHL)) % sizeof( TChlChannel) == 5)
User avatar
rel
relocation
Posts: 2051
Joined: Fri Jun 16, 2006 9:50 am

Re: SDK version

Postby rel » Sat May 31, 2014 5:11 am

Please download the latest DVB Dream Module SDK here: (updated the SDK today)
http://www.dvbdream.org/forum/viewtopic ... 985#p13985

- Use latest header files, Channel list structure was changed.
- Check CHL File Format.txt in \Docs folder
DVB Dream - because I have to dream about having time to code it
sgs
Just can't stay away
Posts: 27
Joined: Wed May 14, 2014 4:59 am

Re: SDK version

Postby sgs » Sat May 31, 2014 2:22 pm

thanks

Return to “Module / Plugin Programming”

Who is online

Users browsing this forum: No registered users and 1 guest